Assertion: namespace cinch | /r/HasProperty | validatingobject
Facets:
Source sentences:
text: Diagnostics; namespace Cinch { public abstract partial class EditableValidatingObject : ValidatingObject, IEditableObject { #region Data private Dictionary<string, object> _savedState; #endregion #region Public/Protected Methods public void BeginEdit() { OnBeginEdit(); _savedState = GetFieldValues(); } protected virtual void OnBeginEdit() { } public void CancelEdit() { OnCancelEdit(); RestoreFieldValues(_savedState);