Base class for an object that is serializable using SerializationFormatterFactory.GetFormatter(). More...
Protected Member Functions | |
P | ReadPropertyConvert< F, P > (PropertyInfo< F > propertyInfo) |
Gets a property's value from the list of managed field values, converting the value to an appropriate type. More... | |
P | ReadProperty< P > (PropertyInfo< P > propertyInfo) |
Gets a property's value as a specified type. More... | |
virtual object | ReadProperty (IPropertyInfo propertyInfo) |
Gets a property's value as a specified type. More... | |
void | LoadPropertyConvert< P, F > (PropertyInfo< P > propertyInfo, F newValue) |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More... | |
void | LoadProperty< P > (PropertyInfo< P > propertyInfo, P newValue) |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More... | |
virtual void | LoadProperty (IPropertyInfo propertyInfo, object newValue) |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More... | |
virtual bool | LoadPropertyMarkDirty (IPropertyInfo propertyInfo, object newValue) |
Loads the property vith new value and mark field dirty if value is changed. More... | |
void | OnPropertyChanged (string propertyName) |
Raises the PropertyChanged event. More... | |
void | OnPropertyChanged (IPropertyInfo propertyInfo) |
Raises the PropertyChanged event. More... | |
override void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
Override this method to manually retrieve child object data from the serializations stream. More... | |
override void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
Override this method to manually serialize child objects into the serialization stream. More... | |
virtual void | OnDeserialized (System.Runtime.Serialization.StreamingContext context) |
This method is called on a newly deserialized object after deserialization is complete. More... | |
Protected Member Functions inherited from Csla.Core.MobileObject | |
virtual void | OnGetState (SerializationInfo info, StateMode mode) |
Override this method to insert your field values 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... | |
Static Protected Member Functions | |
static PropertyInfo< P > | RegisterProperty< P > (Type objectType, PropertyInfo< P > info) |
Indicates that the specified property belongs to the type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, P defaultValue) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue) |
Indicates that the specified property belongs to the business object type. More... | |
Properties | |
FieldDataManager | FieldManager [get] |
Gets a reference to the field mananger for this object. More... | |
Additional Inherited Members |
Base class for an object that is serializable using SerializationFormatterFactory.GetFormatter().
Definition at line 27 of file ManagedObjectBase.cs.
|
protectedvirtual |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change.
propertyInfo | PropertyInfo object containing property metadata. |
newValue | The new value for the property. |
No authorization checks occur when this method is called, and no PropertyChanging or PropertyChanged events are raised. Loading values does not cause validation rules to be invoked.
Definition at line 359 of file ManagedObjectBase.cs.
|
protected |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change.
P | Type of the property. |
propertyInfo | PropertyInfo object containing property metadata. |
newValue | The new value for the property. |
No authorization checks occur when this method is called, and no PropertyChanging or PropertyChanged events are raised. Loading values does not cause validation rules to be invoked.
Definition at line 277 of file ManagedObjectBase.cs.
|
protected |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change.
propertyInfo | PropertyInfo object containing property metadata. |
newValue | The new value for the property. |
No authorization checks occur when this method is called, and no PropertyChanging or PropertyChanged events are raised. Loading values does not cause validation rules to be invoked.
Definition at line 232 of file ManagedObjectBase.cs.
|
protectedvirtual |
Loads the property vith new value and mark field dirty if value is changed.
propertyInfo | The property info. |
newValue | The new value. |
Definition at line 374 of file ManagedObjectBase.cs.
|
protectedvirtual |
This method is called on a newly deserialized object after deserialization is complete.
context | Serialization context object. |
Definition at line 494 of file ManagedObjectBase.cs.
|
protectedvirtual |
Override this method to manually retrieve child object data from the serializations stream.
info | Serialization info. |
formatter | Reference to the SerializationFormatterFactory.GetFormatter(). |
Reimplemented from Csla.Core.MobileObject.
Definition at line 449 of file ManagedObjectBase.cs.
|
protected |
Raises the PropertyChanged event.
propertyInfo | The property info object for the changed property. |
Definition at line 434 of file ManagedObjectBase.cs.
|
protected |
Raises the PropertyChanged event.
propertyName | Name of the changed property. |
Definition at line 423 of file ManagedObjectBase.cs.
|
protectedvirtual |
Override this method to manually serialize child objects into the serialization stream.
info | Serialization info. |
formatter | Reference to the SerializationFormatterFactory.GetFormatter(). |
Reimplemented from Csla.Core.MobileObject.
Definition at line 466 of file ManagedObjectBase.cs.
|
protectedvirtual |
Gets a property's value as a specified type.
propertyInfo | PropertyInfo object containing property metadata. |
Definition at line 192 of file ManagedObjectBase.cs.
|
protected |
Gets a property's value as a specified type.
P | Type of the property. |
propertyInfo | PropertyInfo object containing property metadata. |
Definition at line 167 of file ManagedObjectBase.cs.
|
protected |
Gets a property's value from the list of managed field values, converting the value to an appropriate type.
F | Type of the field. |
P | Type of the property. |
propertyInfo | PropertyInfo object containing property metadata. |
Definition at line 154 of file ManagedObjectBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the type.
P | Type of property. |
objectType | Type of object to which the property belongs. |
info | PropertyInfo object for the property. |
Definition at line 67 of file ManagedObjectBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
T | Type of object to which the property belongs. |
P | Type of property |
propertyLambdaExpression | Property Expression |
Definition at line 81 of file ManagedObjectBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
T | Type of Target |
P | Type of property |
propertyLambdaExpression | Property Expression |
defaultValue | Default Value for the property |
Definition at line 97 of file ManagedObjectBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
T | |
P | Type of property |
propertyLambdaExpression | Property Expression |
friendlyName | Friendly description for a property to be used in databinding |
Definition at line 113 of file ManagedObjectBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
T | Type of Target |
P | Type of property |
propertyLambdaExpression | Property Expression |
friendlyName | Friendly description for a property to be used in databinding |
defaultValue | Default Value for the property |
Definition at line 130 of file ManagedObjectBase.cs.
|
getprotected |
Gets a reference to the field mananger for this object.
Definition at line 37 of file ManagedObjectBase.cs.