PostSharpAPI ReferencePost­Sharp.​Patterns.​Recording.​OperationsClear­Dictionary­Operation<TKey, TValue>
Open sandboxFocus

ClearDictionaryOperation<TKey, TValue> Class

Represents the AdvisableDictionary<TKey, TValue> operation.

Inheritance
DictionaryOperation<TKey, TValue>
ClearDictionaryOperation<TKey, TValue>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public sealed class ClearDictionaryOperation<TKey, TValue> : DictionaryOperation<TKey, TValue>, IDictionaryOperation, IOperationDescriptor
Type Parameters
Name Description
TKey

Type of keys.

TValue

Type of values.

Properties

Name Description
OldEntries

Gets the items that were in the dictionary before it was cleared.

OperationKind

Gets the kind of operation.

Methods

Name Description
Redo(ReplayContext)

Redo the current operation.

Undo(ReplayContext)

Undo the current operation.