Ejemplo n.º 1
0
        //public SimplePTGNode(PTGID id, SimplePTGNodeKind kind = SimplePTGNodeKind.Null)
        //      {
        //	this.Id = id;
        //          this.Kind = kind;
        //          this.Variables = new HashSet<IVariable>();
        //          this.Sources = new MapSet<IFieldReference, SimplePTGNode>();
        //          this.Targets = new MapSet<IFieldReference, SimplePTGNode>();
        //      }

        public SimplePTGNode(PTGID id, ITypeReference type, SimplePTGNodeKind kind = SimplePTGNodeKind.Object)
        //	: this(id, kind)
        {
            this.Id        = id;
            this.Type      = type;
            this.Kind      = kind;
            this.Variables = new HashSet <IVariable>();
            this.Sources   = new MapSet <IFieldReference, SimplePTGNode>();
            this.Targets   = new MapSet <IFieldReference, SimplePTGNode>();
        }
Ejemplo n.º 2
0
 public JSonNode(PTGID id, ITypeReference oType) : base(id, oType, SimplePTGNodeKind.Json)
 {
     this.ObjectType = oType;
 }
Ejemplo n.º 3
0
 public DelegateNode(PTGID id, IMethodReference method, IVariable instance) : base(id, method.Type, SimplePTGNodeKind.Delegate)
 {
     this.Method   = method;
     this.Instance = instance;
     this.IsStatic = instance == null;
 }
Ejemplo n.º 4
0
 public ParameterNode(PTGID id, string parameter, ITypeReference type, SimplePTGNodeKind kind = SimplePTGNodeKind.Null) : base(id, type, SimplePTGNodeKind.Parameter)
 {
     this.Parameter = parameter;
 }