HashSetDynamicAdvice<T> Class |
PostSharp.Patterns.DynamicAdvising.DynamicAdvice
PostSharp.Patterns.Collections.Advices.HashSetDynamicAdvice<T>
Namespace: PostSharp.Patterns.Collections.Advices
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
public abstract class HashSetDynamicAdvice<T> : DynamicAdvice, IHashSetDynamicAdvice<T>, ICollectionDynamicAdviceBase, IDynamicAdvice, IDynamicInterfaceImplementation
Type Parameters
- T
- Type of items in the AdvisableCollection<T>
The HashSetDynamicAdvice<T> type exposes the following members.
Name | Description | |
---|---|---|
HashSetDynamicAdvice<T> |
Initializes a new HashSetDynamicAdvice<T>.
|
Name | Description | |
---|---|---|
AdvisedObject |
Gets the advised object.
(Inherited from DynamicAdvice.) | |
Identity |
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 DynamicAdvice.) | |
Order |
Gets the execution order of the dynamic advice. See DynamicAdviceOrder.
(Inherited from DynamicAdvice.) | |
Set |
Gets the parent AdvisableHashSet<T>.
|
Name | Description | |
---|---|---|
AddItem |
Adds an item to the hash set.
| |
ChangeMany |
Adds and/or removes several items to or from the hash set.
| |
ClearItems |
Removes all items from the hash set.
| |
Dispose |
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.
(Inherited from DynamicAdvice.) | |
Initialize |
Initializes the current advice.
(Inherited from DynamicAdvice.) | |
IsReadOnly |
Determines whether the advised collection is read-only.
| |
IsSynchronized |
Determines whether the advised collection is synchronized (i.e. thread-safe).
| |
QueryInterface<TInterface> | (Inherited from DynamicAdvice.) | |
RemoveItem |
Removes an item from the hash set.
| |
ToArray |
Copies the hash set to an array.
|