![]() |
CSLA .NET 10.0.0
A home for your business logic
|
Inherit from this base class to easily create a serializable class. More...
Protected Member Functions | |
| virtual void | OnGetState (SerializationInfo info, StateMode mode) |
| Override this method to insert your field values into the MobileFormatter serialization stream. | |
| virtual void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to insert your child object references into the MobileFormatter serialization stream. | |
| virtual void | OnSetState (SerializationInfo info, StateMode mode) |
| Override this method to retrieve your field values from the MobileFormatter serialization stream. | |
| virtual void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to retrieve your child object references from the MobileFormatter serialization stream. | |
| virtual void | OnGetMetastate (BinaryWriter writer) |
| Override this method to write field values directly to a binary stream for metastate serialization. | |
| virtual void | OnSetMetastate (BinaryReader reader) |
| Override this method to read field values directly from a binary stream for metastate deserialization. | |
Inherit from this base class to easily create a serializable class.
|
inlineprotectedvirtual |
Override this method to insert your child object references into the MobileFormatter serialization stream.
| info | Object containing the data to serialize. |
| formatter | Reference to MobileFormatter instance. Use this to convert child references to/from reference id values. |
Reimplemented in Csla.Core.BusinessBase, Csla.Core.FieldManager.FieldDataManager, Csla.Core.ManagedObjectBase, Csla.ReadOnlyBase< T >, Csla.Rules.BusinessRules, and Csla.State.SessionMessage.
|
inlineprotectedvirtual |
Override this method to write field values directly to a binary stream for metastate serialization.
| writer | Binary writer for the output stream. |
Reimplemented in Csla.Core.UndoableBase.
|
inlineprotectedvirtual |
Override this method to insert your field values into the MobileFormatter serialization stream.
| info | Object containing the data to serialize. |
| mode | The StateMode indicating why this method was invoked. |
Reimplemented in Csla.Core.BusinessBase, Csla.Core.FieldManager.FieldDataManager, Csla.Core.UndoableBase, Csla.Rules.BrokenRule, and Csla.Rules.BusinessRules.
|
inlineprotectedvirtual |
Override this method to retrieve your child object references from the MobileFormatter serialization stream.
| info | Object containing the data to serialize. |
| formatter | Reference to MobileFormatter instance. Use this to convert child references to/from reference id values. |
Reimplemented in Csla.Core.BusinessBase, Csla.Core.FieldManager.FieldDataManager, Csla.Core.ManagedObjectBase, Csla.ReadOnlyBase< T >, Csla.Rules.BusinessRules, and Csla.State.SessionMessage.
|
inlineprotectedvirtual |
Override this method to read field values directly from a binary stream for metastate deserialization.
| reader | Binary reader for the input stream. |
Reimplemented in Csla.Core.UndoableBase.
|
inlineprotectedvirtual |
Override this method to retrieve your field values from the MobileFormatter serialization stream.
| info | Object containing the data to serialize. |
| mode | The StateMode indicating why this method was invoked. |
Reimplemented in Csla.Core.BusinessBase, Csla.Core.FieldManager.FieldDataManager, Csla.Core.UndoableBase, Csla.Rules.BrokenRule, and Csla.Rules.BusinessRules.