PostSharp 6.6 / / 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.

Methods
  NameDescription
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