Beispiel #1
0
        protected FactBase(string name, AlloyFile file)
        {
            if (name == null)
                throw new ArgumentNullException("name");
            if (file == null)
                throw new ArgumentNullException("file");

            _name = name;
            _file = file;
        }
        public Signature(string name, AlloyFile file, SignatureAttributes attributes)
        {
            if (name == null)
                throw new ArgumentNullException("name");
            if (file == null)
                throw new ArgumentNullException("file");

            _name = name;
            _file = file;
            _attributes = attributes;
        }
Beispiel #3
0
        protected FactBase(string name, AlloyFile file)
        {
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }
            if (file == null)
            {
                throw new ArgumentNullException("file");
            }

            _name = name;
            _file = file;
        }
Beispiel #4
0
        public Signature(string name, AlloyFile file, SignatureAttributes attributes)
        {
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }
            if (file == null)
            {
                throw new ArgumentNullException("file");
            }

            _name       = name;
            _file       = file;
            _attributes = attributes;
        }
Beispiel #5
0
 public Function(string name, AlloyFile file)
     : base(name, file)
 {
 }
Beispiel #6
0
 public Assertion(string name, AlloyFile file)
     : base(name, file)
 {
 }
Beispiel #7
0
 public Fact(string name, AlloyFile file)
     : base(name, file)
 {
 }
Beispiel #8
0
 public Enum(string name, AlloyFile file)
     : base(name, file, SignatureAttributes.Abstract | SignatureAttributes.Enum)
 {
 }
Beispiel #9
0
 public Enum(string name, AlloyFile file)
     : base(name, file, SignatureAttributes.Abstract | SignatureAttributes.Enum)
 {
 }
Beispiel #10
0
 public Predicate(string name, AlloyFile file)
     : base(name, file)
 {
 }