/// <summary> /// <para> /// Initializes a new instance of <see cref='.PropertyCollection'/> based on another <see cref='.PropertyCollection'/>. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.PropertyCollection'/> from which the contents are copied /// </param> public PropertyCollection(PropertyCollection value) { this.AddRange(value); }
public PropertyInstanceEnumerator(PropertyCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// <para> /// Adds the contents of another <see cref='.PropertyCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.PropertyCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='.PropertyCollection.Add'/> public void AddRange(PropertyCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add(value[i]); } }
public User() { _Roles=new StringCollection(); _Properties=new PropertyCollection(); _Active=true; }