/// <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(); }