PostSharpAPI ReferencePost­Sharp.​Patterns.​RecordingRecording­ServicesRecorder­Provider
Open sandboxFocus

RecordingServices.RecorderProvider Property

RecorderProvider

Gets or sets the RecorderProvider, which provides the default Recorder for recordable objects that have the AutoRecord property set to true (which is the default value).

Declaration
[Required]
public static RecorderProvider RecorderProvider { get; set; }
Property Value
Type Description
RecorderProvider
Remarks

This property is the head of a chain of responsibility. If you set this property to a new value, you typically have to pass the previous value of this property to the constructor of your custom RecorderProvider.

The default implementation unconditionally returns a single global instance of the Recorder class.