Open sandboxFocus

Namespace PostSharp.Patterns.DynamicAdvising

Classes

DynamicAdvice

A base implementation of the IDynamicAdvice interface.

DynamicAdviceOrder

Order of dynamic advices.

DynamicAdvisingServices

Provides methods to help with the use of dynamic advices.

DynamicallyAdvisableObject

Base class for objects into which advices can be dynamically injected.

Structs

AdviceEnumerator<T>

An immutable iterators of dynamic advices IDynamicAdvice. The GetNext() method returns a new enumerator instance.

Interfaces

IAction<TResult>

Exposes an Execute() method.

IDynamicAdvice

Represents an advice that can be injected dynamically into a dynamically-advisable object.

IDynamicInterfaceImplementation

Interface that must be implemented by objects implementing dynamic interfaces, which can be queried using QueryInterface<T>(). The IDynamicInterfaceImplementation interface provides a mean to get a reference back to the principal object.

IDynamicallyAdvisable

Defines the semantics of an object that accepts dynamic advices.

IExecuteActionDynamicAdvice

A dynamic advice around the execution of an action.

IQueryInterface

Interface implemented by objects that can implement interface dynamically by composition, without implementing the interface directly at MSIL level. The QueryInterface<T>() method must then be used instead of a normal cast.