This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

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: 5.0.31.0 (5.0.31.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