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

DynamicAdvice Methods

The DynamicAdvice 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<TInterface>
See Also