public UIScheme(UISelfSchemeBuildInfo selfInfo, byte ioGropsCount = 0, byte innerSchemesCount = 0, byte linksCount = 0) : base(ioGropsCount) { Self = new SelfContainer(selfInfo, this); IOGroupsInfo = new List <IOGroupContainer>(ioGropsCount); InnerSchemes = new List <InnerContainer> (innerSchemesCount); Links = new List <LinkContainer> (linksCount); Schemes = new Dictionary <string, SchemeContainer> (innerSchemesCount + 1); Schemes.Add(selfInfo.Name, Self); Self.Design = SchemeDesigner.Instance.CreateSelfDesign(Self); }
public SelfContainer(UISelfSchemeBuildInfo selfInfo, Scheme scheme) { SelfBuildInfo = selfInfo; Scheme = scheme; }