Operation.OperationDescriptor Property |
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
public virtual IOperationDescriptor OperationDescriptor { get; }
Property Value
Type: IOperationDescriptorBy default, the OperationDescriptor property returns the current Operation.
When the Operation represents a user-defined scope, the property evaluates to an instance of the NamedOperationDescriptor class. When it represents a method scope, it evaluates to an instance of the MethodExecutionOperationDescriptor class.