This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

RecordingServices.RecorderProvider Property

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).

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
C#
public static RecorderProvider RecorderProvider { get; set; }

Property Value

Type: 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.

See Also