コード例 #1
0
 public stTreeStruct()
 {
     PexPreConstructorParameterless();
     _One                = Vortex.Connector.IConnectorFactory.CreateBOOL();
     _Two                = Vortex.Connector.IConnectorFactory.CreateBOOL();
     _Another            = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _ThisOne            = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _ANumberWouldBeCool = Vortex.Connector.IConnectorFactory.CreateINT();
     _Bools              = new stBools();
     AttributeName       = "";
     PexConstructorParameterless();
 }
コード例 #2
0
 public stTreeStruct(Vortex.Connector.IVortexObject parent, string readableTail, string symbolTail)
 {
     this.@SymbolTail = symbolTail;
     this.@Connector  = parent.GetConnector();
     this.@ValueTags  = new System.Collections.Generic.List <Vortex.Connector.IValueTag>();
     this.@Children   = new System.Collections.Generic.List <Vortex.Connector.IVortexObject>();
     this.@Parent     = parent;
     _humanReadable   = Vortex.Connector.IConnector.CreateSymbol(parent.HumanReadable, readableTail);
     PexPreConstructor(parent, readableTail, symbolTail);
     Symbol              = Vortex.Connector.IConnector.CreateSymbol(parent.Symbol, symbolTail);
     _One                = @Connector.Online.Adapter.CreateBOOL(this, "", "One");
     _Two                = @Connector.Online.Adapter.CreateBOOL(this, "", "Two");
     _Another            = @Connector.Online.Adapter.CreateSTRING(this, "", "Another");
     _ThisOne            = @Connector.Online.Adapter.CreateSTRING(this, "", "ThisOne");
     _ANumberWouldBeCool = @Connector.Online.Adapter.CreateINT(this, "", "ANumberWouldBeCool");
     _Bools              = new stBools(this, "", "Bools");
     AttributeName       = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }