DynamicallyAdvisableObject.GetAdviceEnumerator<T> Method |
Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public AdviceEnumerator<T> GetAdviceEnumerator<T>() where T : class, IDynamicAdvice
Type Parameters
- T
- Interface to be implemented by the advice
Return Value
Type: AdviceEnumerator<T>An AdviceEnumerator<T> that enumerates all advices of type T on the current object.