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

RecordableAttribute.AutoRecord Property

Determines whether changes in this object must be recorded as soon as the object constructor has completed.

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: (
public bool AutoRecord { get; set; }

Property Value

Type: Boolean

If this property is set to true, a Recorder will be automatically assigned to the target instance using the OperationFormatter. Set this property to false if you need to assign the Recorder manually.

See Also