PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Recording Namespace/Recordable­Attribute Class/Recordable­Attribute Properties/Recordable­Attribute.​Auto­Record Property

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: 6.1.6.0 (6.1.6.0)
Syntax
C#
public bool AutoRecord { get; set; }

Property Value

Type: Boolean
Remarks

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