public Enumerator(UserCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Initializes a new instance of the UserCollection class, containing elements /// copied from another instance of UserCollection /// </summary> /// <param name="items"> /// The UserCollection whose elements are to be added to the new UserCollection. /// </param> public UserCollection(UserCollection items) { this.AddRange(items); }