PostSharpAPI ReferencePost­Sharp.​Patterns.​RecordingRecordable­AttributeAuto­Record
Open sandboxFocus

RecordableAttribute.AutoRecord Property

AutoRecord

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

Declaration
public bool AutoRecord { get; set; }
Property Value
Type Description
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.