public static OldDirtyState GetInstance() { if (_instance == null) { lock (SyncRoot) { if (_instance == null) { _instance = new OldDirtyState(); } } } return(_instance); }
internal void MarkOldDirty() { _previousState = _state; _state = OldDirtyState.GetInstance(); }
public override void FieldDataChange(APersistenceObject obj) { obj.PreviousState = this; obj.State = OldDirtyState.GetInstance(); }