Open sandboxFocus

Method GetAdviceEnumerator

GetAdviceEnumerator<T>()

Gets an AdviceEnumerator<T> for all advices implementing a given interface on the current object.

Declaration
public AdviceEnumerator<T> GetAdviceEnumerator<T>() where T : class, IDynamicAdvice
Returns
Type Description
AdviceEnumerator<T>

An AdviceEnumerator<T> that enumerates all advices of type T on the current object.

Type Parameters
Name Description
T

Interface to be implemented by the advice