PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / Hash­Set­Dynamic­Advice(T) Class / Hash­Set­Dynamic­Advice(T) Methods

HashSetDynamicAdvice<T> Methods

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

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 DynamicAdvice.)
Public methodInitialize
Initializes the current advice.
(Inherited from DynamicAdvice.)
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<TInterface> (Inherited from DynamicAdvice.)
Public methodRemoveItem
Removes an item from the hash set.
Public methodToArray
Copies the hash set to an array.
See Also