PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Dynamic­Advising Namespace / IDynamically­Advisable Interface

IDynamicallyAdvisable Interface

Defines the semantics of an object that accepts dynamic advices.

Namespace:  PostSharp.Patterns.DynamicAdvising
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public interface IDynamicallyAdvisable : IQueryInterface

The IDynamicallyAdvisable type exposes the following members.

Public methodAdvise
Adds an advice to the object.
Public methodQueryAdvice<T>
Queries an interface implemented by a dynamic advice.
Public methodQueryInterface<T>
Gets the implementation of a specified interface for the current object.
(Inherited from IQueryInterface.)
Public methodUnadvise
Removes an advice from the object.
See Also