PostSharp4.3/API Reference/Post­Sharp.​Patterns.​Recording Namespace/Recorder Class/Recorder Methods/Recorder.​Attach Method
Recorder.Attach Method
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.

Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public void Attach(
	Object obj
)

Parameters

obj
Type: System.Object
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.

See Also