Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording Namespace / Recording­Scope Class / Recording­Scope Properties / Recording­Scope.​Operation­Descriptor Property

RecordingScope.OperationDescriptor Property

Gets or sets the IOperationDescriptor for the current scope.

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.0.24.0 (6.0.24.0)
Syntax
C#
public IOperationDescriptor OperationDescriptor { get; set; }

Property Value

Type: IOperationDescriptor
Remarks

To set the name of the current scope, assign this property to an instance of the NamedOperationDescriptor class.

See Also