/// <summary> /// Initializes a new instance of a OrgNodeCollection. /// </summary> /// <param name="parent">The parent OrgNode of this collection.</param> public OrgNodeCollection( IOrgNode parent) : base() { _Parent = parent; }
/// <summary> /// Initializes a new instance of a OrgNodeCollection. /// </summary> public OrgNodeCollection() : base () { _Parent = null; }
/// <summary> /// Sets properties of the OrgNode before being added. /// </summary> /// <param name="item">The OrgNode to be set.</param> private void SetItemProperties( IOrgNode item) { item.Parent = Parent; }