PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording Namespace / Recorder­Provider Class / Recorder­Provider Methods / Recorder­Provider.​Get­Recorder Method

RecorderProvider.GetRecorder Method

Gets the default Recorder for a given object. This method goes through the whole chain of responsibility.

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: (
public Recorder GetRecorder(
	Object obj


Type: System.Object
The object for which the default Recorder is required, or null if the global default provider (exposed for convenience on the DefaultRecorder) property if required.

Return Value

Type: Recorder
The Recorder for obj, or null if no RecorderProvider in the chain of responsibility knows how to provide a Recorder for obj.
See Also