PostSharpAPI ReferencePost­Sharp.​Patterns.​RecordingRecorder­ProviderGet­Recorder­Core
Open sandboxFocus

RecorderProvider.GetRecorderCore Method

GetRecorderCore(Object)

Gets the default Recorder for a given object.

Declaration
protected abstract Recorder GetRecorderCore(object obj)
Parameters
Type Name Description
Object obj

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.

Returns
Type Description
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.