PostSharpAPI ReferencePost­Sharp.​Patterns.​Dynamic­AdvisingAdvice­Enumerator<T>
Open sandboxFocus

AdviceEnumerator<T> Class

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

Inheritance
AdviceEnumerator<T>
Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class AdviceEnumerator<T> : ValueType 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.