DynamicAdvice Class |
PostSharp.Patterns.DynamicAdvising.DynamicAdvice
PostSharp.Patterns.Collections.Advices.CollectionDynamicAdvice<T>
PostSharp.Patterns.Collections.Advices.DictionaryDynamicAdvice<TKey, TValue>
PostSharp.Patterns.Collections.Advices.HashSetDynamicAdvice<T>
Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract class DynamicAdvice : IDynamicAdvice, IDynamicInterfaceImplementation
The DynamicAdvice type exposes the following members.
Name | Description | |
---|---|---|
DynamicAdvice |
Initializes a new DynamicAdvice.
|
Name | Description | |
---|---|---|
AdvisedObject |
Gets the advised object.
| |
Identity |
Gets the type identity of the advice, which should correspond to the first parameter of the Advise(Type, Func<IQueryInterface, IDynamicAdvice>) method.
This is typically the generic type definition of the advice
| |
Order |
Gets the execution order of the dynamic advice. See DynamicAdviceOrder.
|
Name | Description | |
---|---|---|
Dispose |
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.
| |
Initialize |
Initializes the current advice.
| |
QueryInterface<TInterface> |