Open sandboxFocus

Struct AdviceEnumerator<T>

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

Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common.dll
Syntax
public readonly struct AdviceEnumerator<T> where T : class, IDynamicAdvice
Type Parameters
Name Description
T

The advice interface.

Properties

Name Description
Current

Gets the current value.

HasValue

Determines whether the current enumerator has a Current value.

Methods

Name Description
GetNext()

Gets a new instance of AdviceEnumerator<T> that points to the next item.