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

IExecuteActionDynamicAdvice Methods

The IExecuteActionDynamicAdvice 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.
(Inherited from IDynamicAdvice.)
Public methodInitialize
Initializes the current advice.
(Inherited from IDynamicAdvice.)
Public methodInvoke<TResult, TAction>
Invokes the advice or the underlying method.
Public methodQueryInterface<T>
Gets the implementation of an interface.
(Inherited from IDynamicAdvice.)
See Also