IHashSetDynamicAdvice<T> Interface |
Namespace: PostSharp.Patterns.Collections.Advices
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
public interface IHashSetDynamicAdvice<T> : ICollectionDynamicAdviceBase, IDynamicAdvice, IDynamicInterfaceImplementation
Type Parameters
- T
- Type of collection items.
The IHashSetDynamicAdvice<T> type exposes the following members.
Name | Description | |
---|---|---|
AdvisedObject |
Gets the principal object for which the current object is an indirect interface implementation.
(Inherited from IDynamicInterfaceImplementation.) | |
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 IDynamicAdvice.) | |
Order |
Gets the execution order of the dynamic advice. See DynamicAdviceOrder.
(Inherited from IDynamicAdvice.) |
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 IDynamicAdvice.) | |
Initialize |
Initializes the current advice.
(Inherited from IDynamicAdvice.) | |
IsReadOnly |
Determines whether the advised collection is read-only.
(Inherited from ICollectionDynamicAdviceBase.) | |
IsSynchronized |
Determines whether the advised collection is synchronized (i.e. thread-safe).
(Inherited from ICollectionDynamicAdviceBase.) | |
QueryInterface<T> |
Gets the implementation of an interface.
(Inherited from IDynamicAdvice.) | |
RemoveItem |
Removes an item from the hash set.
| |
ToArray |
Copies the hash set to an array.
|