Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 184.108.40.206 (220.127.116.11)
public interface IDynamicAdvice : IDynamicInterfaceImplementation
Thetype exposes the following members.
Gets the principal object for which the current object is an indirect interface implementation.(Inherited from IDynamicInterfaceImplementation.)
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
Gets the execution order of the dynamic advice. See DynamicAdviceOrder.
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.
Initializes the current advice.
Gets the implementation of an interface.
Dynamic advices form a chain of responsibility. Specific interfaces derived from ICollectionDynamicAdvice<T> or IDictionaryDynamicAdvice<TKey, TValue>) define the semantics of the corresponding specific advised type (e.g. AdvisableCollection<T> or AdvisableDictionary<TKey, TValue>. The last node in the chain of implementation is the actual collection implementation.(e.g.