Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public interface ICollectionDynamicAdvice<T> : ICollectionDynamicAdviceBase, IDynamicAdvice, IDynamicInterfaceImplementation
- Type of collection items.
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(Inherited from IDynamicAdvice.)
Gets the execution order of the dynamic advice. See DynamicAdviceOrder.(Inherited from IDynamicAdvice.)
Empties the advised collection.
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.(Inherited from IDynamicAdvice.)
Initializes the current advice.(Inherited from IDynamicAdvice.)
Inserts an item into the advised collection.
Inserts several items to the advised collection.
Determines whether the advised collection is read-only.(Inherited from ICollectionDynamicAdviceBase.)
Determines whether the advised collection is synchronized (i.e. thread-safe).(Inherited from ICollectionDynamicAdviceBase.)
Moves an item of the advised collection from an old index to a new index.
Gets the implementation of an interface.(Inherited from IDynamicAdvice.)
Removes an item from the advised collection.
Removes several items from the advised collection.
Replaces an item in the advised collection.
Copies the advised collection into a new array.