Implements n-level undo capabilities as described in Chapters 2 and 3. More...
Protected Member Functions | |
| UndoableBase () | |
| Creates an instance of the object. More... | |
| virtual void | CopyingState () |
| This method is invoked before the CopyState operation begins. More... | |
| virtual void | CopyStateComplete () |
| This method is invoked after the CopyState operation is complete. More... | |
| virtual void | UndoChangesComplete () |
| This method is invoked before the UndoChanges operation begins. More... | |
| virtual void | UndoingChanges () |
| This method is invoked after the UndoChanges operation is complete. More... | |
| virtual void | AcceptingChanges () |
| This method is invoked before the AcceptChanges operation begins. More... | |
| virtual void | AcceptChangesComplete () |
| This method is invoked after the AcceptChanges operation is complete. More... | |
| override void | OnGetState (SerializationInfo info, StateMode mode) |
| Override this method to insert your field values into the MobileFormatter serialzation stream. More... | |
| override void | OnSetState (SerializationInfo info, StateMode mode) |
| Override this method to retrieve your field values from the MobileFormatter serialzation stream. More... | |
Protected Member Functions inherited from Csla.Core.BindableBase | |
| BindableBase () | |
| Creates an instance of the object. More... | |
| virtual bool | ShouldHandlerSerialize (PropertyChangedEventHandler value) |
| Override this method to change the default logic for determining if the event handler should be serialized More... | |
| virtual void | OnPropertyChanged (string propertyName) |
| Call this method to raise the PropertyChanged event for a specific property. More... | |
| virtual void | OnMetaPropertyChanged (string propertyName) |
| virtual void | OnPropertyChanged (IPropertyInfo propertyInfo) |
| Call this method to raise the PropertyChanged event for a specific property. More... | |
| virtual void | OnIsDirtyChanged () |
| Call this method to raise the PropertyChanged event for all object properties. More... | |
| virtual void | OnUnknownPropertyChanged () |
| Call this method to raise the PropertyChanged event for all object properties. More... | |
| virtual void | OnIsDirtyChanging () |
| Call this method to raise the PropertyChanging event for all object properties. More... | |
| virtual void | OnUnknownPropertyChanging () |
| Call this method to raise the PropertyChanging event for all object properties. More... | |
| virtual void | OnPropertyChanging (string propertyName) |
| Call this method to raise the PropertyChanging event for a specific property. More... | |
| virtual void | OnPropertyChanging (IPropertyInfo propertyInfo) |
| Call this method to raise the PropertyChanging event for a specific property. More... | |
| virtual bool | ShouldHandlerSerialize (PropertyChangingEventHandler value) |
| Override this method to change the default logic for determining if the event handler should be serialized More... | |
Protected Member Functions inherited from Csla.Core.MobileObject | |
| virtual void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to insert your child object references into the MobileFormatter serialzation stream. More... | |
| virtual void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to retrieve your child object references from the MobileFormatter serialzation stream. More... | |
Properties | |
| bool | BindingEdit [getset] |
| Gets or sets a value indicating whether n-level undo was invoked through IEditableObject. More... | |
| int | EditLevel [get] |
| Returns the current edit level of the object. More... | |
Properties inherited from Csla.Core.BindableBase | |
| PropertyChangedEventHandler | PropertyChanged |
| Implements a serialization-safe PropertyChanged event. More... | |
| PropertyChangingEventHandler | PropertyChanging |
| Implements a serialization-safe PropertyChanging event. More... | |
Properties inherited from Csla.Core.IUndoableObject | |
| int | EditLevel [get] |
| Gets the current edit level of the object. More... | |
Additional Inherited Members |
Implements n-level undo capabilities as described in Chapters 2 and 3.
Definition at line 26 of file UndoableBase.cs.
|
protected |
Creates an instance of the object.
Definition at line 38 of file UndoableBase.cs.
|
protectedvirtual |
This method is invoked after the AcceptChanges operation is complete.
Reimplemented in Csla.Core.BusinessBase.
Definition at line 301 of file UndoableBase.cs.
|
protectedvirtual |
This method is invoked before the AcceptChanges operation begins.
Definition at line 292 of file UndoableBase.cs.
|
protectedvirtual |
This method is invoked before the CopyState operation begins.
Definition at line 98 of file UndoableBase.cs.
|
protectedvirtual |
This method is invoked after the CopyState operation is complete.
Definition at line 107 of file UndoableBase.cs.
|
protectedvirtual |
Override this method to insert your field values into the MobileFormatter serialzation stream.
| info | Object containing the data to serialize. |
| mode | The StateMode indicating why this method was invoked. |
Reimplemented from Csla.Core.MobileObject.
Definition at line 409 of file UndoableBase.cs.
|
protectedvirtual |
Override this method to retrieve your field values from the MobileFormatter serialzation stream.
| info | Object containing the data to serialize. |
| mode | The StateMode indicating why this method was invoked. |
Reimplemented from Csla.Core.MobileObject.
Definition at line 433 of file UndoableBase.cs.
|
protectedvirtual |
This method is invoked before the UndoChanges operation begins.
Reimplemented in Csla.Core.BusinessBase.
Definition at line 185 of file UndoableBase.cs.
|
protectedvirtual |
This method is invoked after the UndoChanges operation is complete.
Definition at line 194 of file UndoableBase.cs.
|
getsetprotected |
Gets or sets a value indicating whether n-level undo was invoked through IEditableObject.
FOR INTERNAL CSLA .NET USE ONLY!
Definition at line 49 of file UndoableBase.cs.
|
getprotected |
Returns the current edit level of the object.
Definition at line 70 of file UndoableBase.cs.