Object containing the serialization data for a specific object. More...
Classes | |
class | ChildData |
Object that contains information about a single child reference. More... | |
class | FieldData |
Object that contains information about a single field. More... | |
Public Member Functions | |
void | AddValue (string name, object value) |
Adds a value to the serialization stream. More... | |
void | AddValue (string name, object value, bool isDirty) |
Adds a value to the list of fields. More... | |
void | AddValue (string name, object value, bool isDirty, string enumTypeName) |
Adds a value to the list of fields. More... | |
T | GetValue< T > (string name) |
Gets a value from the list of fields. More... | |
void | AddChild (string name, int referenceId) |
Adds a child to the list of child references. More... | |
void | AddChild (string name, int referenceId, bool isDirty) |
Adds a child to the list of child references. More... | |
SerializationInfo () | |
Creates an instance of the type. More... | |
void | GetState (SerializationInfo info) |
Method called by MobileFormatter when an object should serialize its data. More... | |
void | GetChildren (SerializationInfo info, MobileFormatter formatter) |
Method called by MobileFormatter when an object should serialize its child references. More... | |
void | SetState (SerializationInfo info) |
Method called by MobileFormatter when an object should be deserialized. More... | |
void | SetChildren (SerializationInfo info, MobileFormatter formatter) |
Method called by MobileFormatter when an object should deserialize its child references. More... | |
Properties | |
Dictionary< string, ChildData > | Children [getset] |
Dictionary containing child reference data. More... | |
Dictionary< string, FieldData > | Values [getset] |
Dictionary containg field data. More... | |
int | ReferenceId [getset] |
Reference number for this object. More... | |
string | TypeName [getset] |
Assembly-qualified type name of the object being serialized. More... | |
Object containing the serialization data for a specific object.
Definition at line 26 of file SerializationInfo.cs.
Csla.Serialization.Mobile.SerializationInfo.SerializationInfo | ( | ) |
Creates an instance of the type.
Definition at line 342 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.AddChild | ( | string | name, |
int | referenceId | ||
) |
Adds a child to the list of child references.
name | Name of the field. |
referenceId | Reference id for the child object. |
Definition at line 315 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.AddChild | ( | string | name, |
int | referenceId, | ||
bool | isDirty | ||
) |
Adds a child to the list of child references.
name | Name of the field. |
referenceId | Reference id for the child object. |
isDirty | Flag indicating whether the child is dirty. |
Definition at line 332 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.AddValue | ( | string | name, |
object | value | ||
) |
Adds a value to the serialization stream.
name | Name of the field. |
value | Value of the field. |
Definition at line 241 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.AddValue | ( | string | name, |
object | value, | ||
bool | isDirty | ||
) |
Adds a value to the list of fields.
name | Name of the field. |
value | Value of the field. |
isDirty | Flag indicating whether the value is dirty. |
Definition at line 258 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.AddValue | ( | string | name, |
object | value, | ||
bool | isDirty, | ||
string | enumTypeName | ||
) |
Adds a value to the list of fields.
name | Name of the field. |
value | Value of the field. |
isDirty | Flag indicating whether the value is dirty. |
enumTypeName | Name of the enumeration |
Definition at line 278 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.GetChildren | ( | SerializationInfo | info, |
MobileFormatter | formatter | ||
) |
Method called by MobileFormatter when an object should serialize its child references.
The data should be serialized into the SerializationInfo parameter.
info | Object to contain the serialized data. |
formatter | Reference to the formatter performing the serialization. |
Implements Csla.Serialization.Mobile.IMobileObject.
Definition at line 369 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.GetState | ( | SerializationInfo | info | ) |
Method called by MobileFormatter when an object should serialize its data.
The data should be serialized into the SerializationInfo parameter.
info | Object to contain the serialized data. |
Implements Csla.Serialization.Mobile.IMobileObject.
Definition at line 352 of file SerializationInfo.cs.
T Csla.Serialization.Mobile.SerializationInfo.GetValue< T > | ( | string | name | ) |
Gets a value from the list of fields.
T | Type to which the value should be coerced. |
name | Name of the field. |
Definition at line 293 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.SetChildren | ( | SerializationInfo | info, |
MobileFormatter | formatter | ||
) |
Method called by MobileFormatter when an object should deserialize its child references.
The data should be deserialized from the SerializationInfo parameter.
info | Object containing the serialized data. |
formatter | Reference to the formatter performing the deserialization. |
Implements Csla.Serialization.Mobile.IMobileObject.
Definition at line 410 of file SerializationInfo.cs.
void Csla.Serialization.Mobile.SerializationInfo.SetState | ( | SerializationInfo | info | ) |
Method called by MobileFormatter when an object should be deserialized.
The data should be deserialized from the SerializationInfo parameter.
info | Object containing the serialized data. |
Implements Csla.Serialization.Mobile.IMobileObject.
Definition at line 393 of file SerializationInfo.cs.
|
getset |
Dictionary containing child reference data.
Definition at line 198 of file SerializationInfo.cs.
|
getset |
Reference number for this object.
Definition at line 224 of file SerializationInfo.cs.
|
getset |
Assembly-qualified type name of the object being serialized.
Definition at line 230 of file SerializationInfo.cs.
|
getset |
Dictionary containg field data.
Definition at line 209 of file SerializationInfo.cs.