PostSharpAPI ReferencePost­Sharp.​Patterns.​RecordingRecording­Scope­Attribute
Open sandboxFocus

RecordingScopeAttribute Class

Custom attribute that, when applied to a method, defines the characteristics of the RecordingScope that corresponds to the target method.

Inheritance
RecordingScopeAttribute
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model.dll
Syntax
[MulticastAttributeUsage]
public sealed class RecordingScopeAttribute : MulticastAttribute

Constructors

Name Description
RecordingScopeAttribute(RecordingScopeOption)

Initializes a new instance of the RecordingScopeAttribute.

RecordingScopeAttribute(String, RecordingScopeOption)

Initializes a new instance of the RecordingScopeAttribute class and specify the scope name.

Properties

Name Description
Name

Gets the scope name.

Option

Gets the scope option.