Esempio n. 1
0
		/// <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);
		}
Esempio n. 2
0
			public PropertyInstanceEnumerator(PropertyCollection mappings) 
			{
				this.temp = ((IEnumerable)(mappings));
				this.baseEnumerator = temp.GetEnumerator();
			}
Esempio n. 3
0
		/// <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]);
			}
		}
Esempio n. 4
0
		public User()
		{
			_Roles=new StringCollection();
			_Properties=new PropertyCollection();
			_Active=true;
		}
Esempio n. 5
0
 /// <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);
 }
Esempio n. 6
0
 public PropertyInstanceEnumerator(PropertyCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }