PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Collections.​Advices Namespace/ICollection­Dynamic­Advice­Base Interface/ICollection­Dynamic­Advice­Base Methods

ICollectionDynamicAdviceBase Methods

The ICollectionDynamicAdviceBase type exposes the following members.

Methods
  NameDescription
Public methodDispose
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.
(Inherited from IDynamicAdvice.)
Public methodInitialize
Initializes the current advice.
(Inherited from IDynamicAdvice.)
Public methodIsReadOnly
Determines whether the advised collection is read-only.
Public methodIsSynchronized
Determines whether the advised collection is synchronized (i.e. thread-safe).
Public methodQueryInterface<T>
Gets the implementation of an interface.
(Inherited from IDynamicAdvice.)
See Also