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.MobileObject Class Reference

Inherit from this base class to easily create a serializable class. More...

Inheritance diagram for Csla.Core.MobileObject:
Csla.Serialization.Mobile.IMobileObject Csla.Core.BindableBase Csla.Core.FieldManager.FieldDataManager Csla.Core.ManagedObjectBase Csla.NameValueListBase< K, V >.NameValuePair Csla.Rules.BrokenRule Csla.Rules.BusinessRules Csla.Server.EmptyCriteria Csla.Server.NullCriteria

Protected Member Functions

virtual void OnGetState (SerializationInfo info, StateMode mode)
 Override this method to insert your field values into the MobileFormatter serialzation stream. More...
 
virtual void OnGetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to insert your child object references into the MobileFormatter serialzation stream. More...
 
virtual void OnSetState (SerializationInfo info, StateMode mode)
 Override this method to retrieve your field values from 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...
 

Additional Inherited Members

Detailed Description

Inherit from this base class to easily create a serializable class.

Definition at line 19 of file MobileObject.cs.

Member Function Documentation

◆ OnGetChildren()

virtual void Csla.Core.MobileObject.OnGetChildren ( SerializationInfo  info,
MobileFormatter  formatter 
)
protectedvirtual

Override this method to insert your child object references into the MobileFormatter serialzation stream.

Parameters
infoObject containing the data to serialize.
formatterReference to MobileFormatter instance. Use this to convert child references to/from reference id values.

Reimplemented in Csla.Core.FieldManager.FieldDataManager, Csla.Core.ManagedObjectBase, and Csla.Rules.BusinessRules.

Definition at line 59 of file MobileObject.cs.

◆ OnGetState()

virtual void Csla.Core.MobileObject.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 in Csla.Core.FieldManager.FieldDataManager, Csla.Core.UndoableBase, Csla.NameValueListBase< K, V >.NameValuePair, Csla.Rules.BrokenRule, and Csla.Rules.BusinessRules.

Definition at line 44 of file MobileObject.cs.

◆ OnSetChildren()

virtual void Csla.Core.MobileObject.OnSetChildren ( SerializationInfo  info,
MobileFormatter  formatter 
)
protectedvirtual

Override this method to retrieve your child object references from the MobileFormatter serialzation stream.

Parameters
infoObject containing the data to serialize.
formatterReference to MobileFormatter instance. Use this to convert child references to/from reference id values.

Reimplemented in Csla.Core.FieldManager.FieldDataManager, Csla.Core.ManagedObjectBase, and Csla.Rules.BusinessRules.

Definition at line 102 of file MobileObject.cs.

◆ OnSetState()

virtual void Csla.Core.MobileObject.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 in Csla.Core.FieldManager.FieldDataManager, Csla.Core.UndoableBase, Csla.NameValueListBase< K, V >.NameValuePair, Csla.Rules.BrokenRule, and Csla.Rules.BusinessRules.

Definition at line 87 of file MobileObject.cs.