PostSharpAPI ReferencePost­Sharp.​Patterns.​RecordingRecorderAttach
Open sandboxFocus

Recorder.Attach Method

Attach(Object)

Attaches a recordable object (including its descendant objects) to the current Recorder so that changes in this objects start being recorded into the current Recorder.

Declaration
public void Attach([Required] object obj)
Parameters
Type Name Description
Object obj

The recordable object whose changes need to be recorded into the current Recorder.

Remarks

This method implicitly attaches all descendants of obj to the current Recorder.