PostSharp4.3/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: 4.3.48.0 (4.3.48.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