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

RecorderProvider.GetRecorderCore Method

Gets the default Recorder for a given object.

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
protected abstract Recorder GetRecorderCore(
	Object obj
)

Parameters

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 the current RecorderProvider does not know how to provide a Recorder for obj, in which case the caller shall invoke the next RecorderProvider in the chain of responsibility.
See Also