CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Core.UndoableBase Class Reference

Implements n-level undo capabilities as described in Chapters 2 and 3. More...

Inheritance diagram for Csla.Core.UndoableBase:
Csla.Core.BindableBase Csla.Core.IUndoableObject Csla.Core.IUseApplicationContext Csla.Core.MobileObject Csla.Serialization.Mobile.IMobileObject Csla.Core.BusinessBase Csla.BusinessBase< T > Csla.Test.DataPortal.MultipleDataAccessBase< T > Csla.Test.DataPortalTest.LegacySplitBase< T > Csla.Test.DataPortalTest.SplitBase< T > Csla.Test.DataPortalTest.SplitOverloadBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopNFIBase< T > Csla.Test.Silverlight.PropertyGetSet.AbstractGetSet< T > Csla.Testing.Business.ApplicationContext.ContextBOVerifier< T >

Protected Member Functions

virtual void OnApplicationContextSet ()
 Method invoked after ApplicationContext is available. More...
 
 UndoableBase ()
 Creates an instance of the type. 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 type. 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

ApplicationContext ApplicationContext [getset]
 Gets or sets a reference to the current ApplicationContext. More...
 
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...
 
- Properties inherited from Csla.Core.IUseApplicationContext
ApplicationContext ApplicationContext [getset]
 Gets or sets the current ApplicationContext object. More...
 

Additional Inherited Members

Detailed Description

Implements n-level undo capabilities as described in Chapters 2 and 3.

Definition at line 25 of file UndoableBase.cs.

Constructor & Destructor Documentation

◆ UndoableBase()

Csla.Core.UndoableBase.UndoableBase ( )
protected

Creates an instance of the type.

Definition at line 61 of file UndoableBase.cs.

Member Function Documentation

◆ AcceptChangesComplete()

virtual void Csla.Core.UndoableBase.AcceptChangesComplete ( )
protectedvirtual

This method is invoked after the AcceptChanges operation is complete.

Reimplemented in Csla.Core.BusinessBase.

Definition at line 320 of file UndoableBase.cs.

◆ AcceptingChanges()

virtual void Csla.Core.UndoableBase.AcceptingChanges ( )
protectedvirtual

This method is invoked before the AcceptChanges operation begins.

Definition at line 311 of file UndoableBase.cs.

◆ CopyingState()

virtual void Csla.Core.UndoableBase.CopyingState ( )
protectedvirtual

This method is invoked before the CopyState operation begins.

Definition at line 121 of file UndoableBase.cs.

◆ CopyStateComplete()

virtual void Csla.Core.UndoableBase.CopyStateComplete ( )
protectedvirtual

This method is invoked after the CopyState operation is complete.

Definition at line 130 of file UndoableBase.cs.

◆ OnApplicationContextSet()

virtual void Csla.Core.UndoableBase.OnApplicationContextSet ( )
protectedvirtual

Method invoked after ApplicationContext is available.

Reimplemented in Csla.Core.BusinessBase.

Definition at line 55 of file UndoableBase.cs.

◆ OnGetState()

override void Csla.Core.UndoableBase.OnGetState ( SerializationInfo  info,
StateMode  mode 
)
protectedvirtual

Override this method to insert your field values into the MobileFormatter serialzation stream.

Parameters
infoObject containing the data to serialize.
modeThe StateMode indicating why this method was invoked.

Reimplemented from Csla.Core.MobileObject.

Definition at line 407 of file UndoableBase.cs.

◆ OnSetState()

override void Csla.Core.UndoableBase.OnSetState ( SerializationInfo  info,
StateMode  mode 
)
protectedvirtual

Override this method to retrieve your field values from the MobileFormatter serialzation stream.

Parameters
infoObject containing the data to serialize.
modeThe StateMode indicating why this method was invoked.

Reimplemented from Csla.Core.MobileObject.

Definition at line 431 of file UndoableBase.cs.

◆ UndoChangesComplete()

virtual void Csla.Core.UndoableBase.UndoChangesComplete ( )
protectedvirtual

This method is invoked before the UndoChanges operation begins.

Reimplemented in Csla.Core.BusinessBase.

Definition at line 206 of file UndoableBase.cs.

◆ UndoingChanges()

virtual void Csla.Core.UndoableBase.UndoingChanges ( )
protectedvirtual

This method is invoked after the UndoChanges operation is complete.

Definition at line 215 of file UndoableBase.cs.

Property Documentation

◆ ApplicationContext

ApplicationContext Csla.Core.UndoableBase.ApplicationContext
getsetprotected

Gets or sets a reference to the current ApplicationContext.

Definition at line 41 of file UndoableBase.cs.

◆ BindingEdit

bool Csla.Core.UndoableBase.BindingEdit
getsetprotected

Gets or sets a value indicating whether n-level undo was invoked through IEditableObject.

FOR INTERNAL CSLA .NET USE ONLY!

Definition at line 72 of file UndoableBase.cs.

◆ EditLevel

int Csla.Core.UndoableBase.EditLevel
getprotected

Returns the current edit level of the object.

Definition at line 93 of file UndoableBase.cs.