/// <summary> /// Constructor /// </summary> /// <param name="name">Display name of the composite</param> /// <param name="nodes">Children nodes</param> protected Composite(string displayName, params Node[] childNodes) { Name = displayName; ChildNodes.AddRange(childNodes.ToList()); }
//constructor protected Composite(string name, params Node[] nodes) { Name = name; ChildNodes.AddRange(nodes.ToList()); }
public void AddNodeRange(IEnumerable <IMenuNode> nodes) { ChildNodes.AddRange(nodes); }
public DomDocument(IEnumerable <IDomObject> elements) : base() { ChildNodes.AddRange(elements); }
public DomContainer(IEnumerable <IDomObject> elements) : base() { ChildNodes.AddRange(elements); }
public MSBuildTarget(string name, IEnumerable <MSBuildTask> tasks) { this.name = name; ChildNodes = ChildNodes.AddRange(tasks); }