PostSharpAPI ReferencePost­Sharp.​Patterns.​Recording.​OperationsHash­Set­Operation<T>
Open sandboxFocus

HashSetOperation<T> Class

Base class for operations on an AdvisableHashSet<T>.

Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public abstract class HashSetOperation<T> : Operation, IHashSetOperation, IOperationDescriptor
Type Parameters
Name Description
T

Type of items in set.

Properties

Name Description
NewItem

Gets the item before the operation.

OldItem

Gets the item after the operation.

Set

Gets the set on which the operation was performed.

Methods

Name Description
VisitAffectedObjects(Action<Object>)

Executes a given action on all recordable objects involved with the current Operation.

Explicit Interface Implementations

Name Description
IHashSetOperation.HashSet

Gets the collection on which the operation was performed.

IHashSetOperation.NewItem

Gets the item after the operation.

IHashSetOperation.OldItem

Gets the item before the operation.