PostSharp//API Reference/Post­Sharp.​Patterns.​Recording/Recording­Scope
Open sandboxFocus

Class RecordingScope

Defines the scope a logical operation, that is, a set of change that should be undone or redone as a whole.

Inheritance
RecordingScope
Implements
IDisposable
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model.dll
Syntax
public sealed class RecordingScope : Object

Properties

Name Description
OperationDescriptor

Gets or sets the IOperationDescriptor for the current scope.

Methods

Name Description
Complete()

Closes the current RecordingScope and mark it as successful.

Dispose()

Closes the current RecordingScope.