Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording Namespace / Recordable­Attribute Class / Recordable­Attribute Properties / Recordable­Attribute.​Provide­Method­Context Property

RecordableAttribute.ProvideMethodContext Property

Determines whether full method invocation context is provided to the MethodExecutionOperationDescriptor class for use in a custom OperationFormatter. This property is set to false by default for performance reasons.

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.39.0 (5.0.39.0)
Syntax
C#
public bool ProvideMethodContext { get; set; }

Property Value

Type: Boolean
Remarks

This property applies to all public methods of the target class.

See Also