PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording.​Operations Namespace / Hash­Set­Operation(T) Class

HashSetOperation<T> Class

Base class for operations on an AdvisableHashSet<T>.
Inheritance Hierarchy

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract class HashSetOperation<T> : Operation, 
	IHashSetOperation, IOperationDescriptor

Type Parameters

Type of items in set.

The HashSetOperation<T> type exposes the following members.

Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyNewItem
Gets the item before the operation.
Public propertyOldItem
Gets the item after the operation.
Public propertyOperationDescriptor
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation.
(Inherited from Operation.)
Public propertyOperationKind
Gets the kind of operation.
(Inherited from Operation.)
Public propertySet
Gets the set on which the operation was performed.
Protected methodGetMergeStatus
Determines how a given Operation can be merged with the current Operation.
(Inherited from Operation.)
Protected methodMerge
Merges a given Operation into the current Operation.
(Inherited from Operation.)
Protected methodRedo
Redo the current operation.
(Inherited from Operation.)
Protected methodUndo
Undo the current operation.
(Inherited from Operation.)
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).)
See Also