RecordingScopeAttribute(string, RecordingScopeOption)
Initializes a new instance of the RecordingScopeAttribute class and specify the scope name.
Declaration
public RecordingScopeAttribute(string name, RecordingScopeOption option = RecordingScopeOption.Default)
Parameters
Type | Name | Description |
---|---|---|
string | name | The scope name, or |
RecordingScopeOption | option | Scope options. |
RecordingScopeAttribute(RecordingScopeOption)
Initializes a new instance of the RecordingScopeAttribute.
Declaration
public RecordingScopeAttribute(RecordingScopeOption option)
Parameters
Type | Name | Description |
---|---|---|
RecordingScopeOption | option |