Esempio n. 1
0
        /// <summary>
        /// Add a groupable element to a group
        /// </summary>
        /// <param name="ID"></param>
        /// <param name="Element"></param>
        /// <returns></returns>
        public Group AddToGroup(string ID, GroupableBase Element)
        {
            Group group = this.GetGroupFromID(ID);

            group.Add(Element);

            return(group);
        }
Esempio n. 2
0
 public GroupableBase(GroupableBase Parent)
 {
     this._purgeinactive = Parent.PurgeInactive;
 }
Esempio n. 3
0
 //method
 public void Add(GroupableBase GroupableElement)
 {
     this._groupables.Add(GroupableElement);
     this.StateEvent += GroupableElement.OnGroupStateChange;
 }