PostSharpAPI ReferencePost­Sharp.​Patterns.​Dynamic­AdvisingIDynamically­Advisable
Open sandboxFocus

IDynamicallyAdvisable Interface

Defines the semantics of an object that accepts dynamic advices.

Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common.dll
Syntax
public interface IDynamicallyAdvisable : IQueryInterface

Methods

Name Description
Advise(Type, Func<IQueryInterface, IDynamicAdvice>)

Adds an advice to the object.

QueryAdvice<T>()

Queries an interface implemented by a dynamic advice.

Unadvise(Type)

Removes an advice from the object.