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

ChangeManySetOperation<T> Class

Represents any of the set operations that add or remove multiple items (e.g. IntersectWith(IEnumerable<T>), UnionWith(IEnumerable<T>), ...).

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

Type of items in the set.

Properties

Name Description
NewItems

Gets the items that were added to the set after the operation.

OldItems

Gets the items that were in the set before the operation.

OperationKind

Gets the kind of operation.

Methods

Name Description
Redo(ReplayContext)

Redo the current operation.

Undo(ReplayContext)

Undo the current operation.