PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Dynamic­Advising Namespace / IDynamic­Advice Interface / IDynamic­Advice Methods

IDynamicAdvice Methods

The IDynamicAdvice type exposes the following members.

Public methodDispose
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.
Public methodInitialize
Initializes the current advice.
Public methodQueryInterface<T>
Gets the implementation of an interface.
See Also