コード例 #1
0
			/// <summary>
			/// Initializes a new instance of the <see cref="AttributeCollectionAdapterEnumerator"/> class.
			/// </summary>
			/// <param name="adapter">The adapter.</param>
			public AttributeCollectionAdapterEnumerator(AttributeCollectionAdapter adapter)
			{
				_adapter = adapter;
				_enumerator = ((IEnumerable)adapter).GetEnumerator();
			}
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttributeCollectionAdapterEnumerator"/> class.
 /// </summary>
 /// <param name="adapter">The adapter.</param>
 public AttributeCollectionAdapterEnumerator(AttributeCollectionAdapter adapter)
 {
     _adapter    = adapter;
     _enumerator = ((IEnumerable)adapter).GetEnumerator();
 }