RecordableAttribute.IRecordable.Recorder Property
IRecordable.Recorder
Gets the recorder attached to the current object.
Declaration
Recorder IRecordable.Recorder
{
[RecordingScope]
[DebuggerAspectMethod]
[DebuggerAspectMethod]
get;
[RecordingScope]
[DebuggerAspectMethod]
[DebuggerAspectMethod]
set;
}
Returns
Type | Description |
---|---|
Recorder |
Implements
Remarks
Getting this property automatically attaches the object to the default Recorder if it is not yet attached.
Use the HasRecorder(Boolean) method with the false
argument to determine whether the object is already attached to a recorder.
note
Named code should not invoke the setting of this property.
When this property is set, it is not the responsibility of the class implementing this interface to also set the property to all children. This responsibility belongs to the Recorder class