PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Utilities Namespace / Unknown­Object­Accessor.​Enumerator Structure

UnknownObjectAccessor.Enumerator Structure

A value type that implements IEnumerator<KeyValuePair<lt;string, object>gt;

Namespace:  PostSharp.Patterns.Utilities
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
public struct Enumerator : IEnumerator<KeyValuePair<string, Object>>, 
	IDisposable, IEnumerator

The UnknownObjectAccessor.Enumerator type exposes the following members.

Properties
  NameDescription
Public propertyCurrent
Gets the element in the collection at the current position of the enumerator.
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodMoveNext
Advances the enumerator to the next element of the collection.
Public methodReset
Sets the enumerator to its initial position, which is before the first element in the collection.
See Also