PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / IHash­Set­Dynamic­Advice(T) Interface / IHash­Set­Dynamic­Advice(T) Methods

IHashSetDynamicAdvice<T> Methods

The IHashSetDynamicAdvice<T> generic type exposes the following members.

Methods
  NameDescription
Public methodAddItem
Adds an item to the hash set.
Public methodChangeMany
Adds and/or removes several items to or from the hash set.
Public methodClearItems
Removes all items from the hash set.
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.
(Inherited from ICollectionDynamicAdviceBase.)
Public methodIsSynchronized
Determines whether the advised collection is synchronized (i.e. thread-safe).
(Inherited from ICollectionDynamicAdviceBase.)
Public methodQueryInterface<T>
Gets the implementation of an interface.
(Inherited from IDynamicAdvice.)
Public methodRemoveItem
Removes an item from the hash set.
Public methodToArray
Copies the hash set to an array.
See Also