PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Dynamic­Advising Namespace/Advice­Enumerator(T) Structure

AdviceEnumerator<T> Structure

An immutable iterators of dynamic advices IDynamicAdvice. The GetNext() method returns a new enumerator instance.

Namespace:  PostSharp.Patterns.DynamicAdvising
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public readonly struct AdviceEnumerator<T>
where T : class, IDynamicAdvice

Type Parameters

T
The advice interface.

The AdviceEnumerator<T> type exposes the following members.

Properties
  NameDescription
Public propertyCurrent
Gets the current value.
Public propertyHasValue
Determines whether the current enumerator has a Current value.
Methods
  NameDescription
Public methodGetNext
Gets a new instance of AdviceEnumerator<T> that points to the next item.
See Also