RecordingScopeAttribute Constructor (String, RecordingScopeOption) |
Initializes a new instance of the RecordingScopeAttribute class and specify the scope name.
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public RecordingScopeAttribute( string name, RecordingScopeOption option = RecordingScopeOption.Default )
Parameters
- name
- Type: System.String
The scope name, or null. - option (Optional)
- Type: PostSharp.Patterns.Recording.RecordingScopeOption
Scope options.