PostSharp 2023.0 / / 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: 2023.0.3.0 (2023.0.3.0)
public IOperationDescriptor OperationDescriptor { get; set; }

Property Value

Type: IOperationDescriptor

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

See Also