public stHugeArrayOfComplex() { PexPreConstructorParameterless(); arr_of_complex = new stComplex[1000]; Vortex.Connector.BuilderHelpers.Arrays.InstantiateArray(arr_of_complex, () => new stComplex()); AttributeName = ""; PexConstructorParameterless(); }
public stHugeArrayOfComplex(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.@Parent = parent; _humanReadable = Vortex.Connector.IConnector.CreateSymbol(parent.HumanReadable, readableTail); this.Kids = new System.Collections.Generic.List <Vortex.Connector.IVortexElement>(); this.@Children = new System.Collections.Generic.List <Vortex.Connector.IVortexObject>(); PexPreConstructor(parent, readableTail, symbolTail); Symbol = Vortex.Connector.IConnector.CreateSymbol(parent.Symbol, symbolTail); arr_of_complex = new stComplex[1000]; Vortex.Connector.BuilderHelpers.Arrays.InstantiateArray(arr_of_complex, this, "", "arr_of_complex", (p, rt, st) => new stComplex(p, rt, st)); AttributeName = ""; parent.AddChild(this); parent.AddKid(this); PexConstructor(parent, readableTail, symbolTail); }