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: 6.10.14.0 (6.10.14.0)
C#
public Recorder GetRecorder( 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: RecorderThe Recorder for obj, or null if no RecorderProvider in the chain of responsibility knows how to provide a Recorder for obj.