PostSharp 6.10 / / 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: (
public bool ProvideMethodContext { get; set; }

Property Value

Type: Boolean

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

See Also