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

Recorder.Detach Method

Detach(Object)

Detaches a recordable object from the current Recorder, so that changes in this objects stop being recorded into the current Recorder.

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

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

Remarks

This method implicitly detaches all descendants of obj from the current Recorder.