CSLA helper to be used in place of the normal Xamarin Android activity that contains a reference to a CSLA ViewModel and a BindingManager. More...
Protected Member Functions | |
| byte[] | SerilizeModelForParameter () |
| Serializes the ViewModel's model property using the SerializationFormatterFactory.GetFormatter(). More... | |
| byte[] | SerilizeModelForParameter (object model) |
| Serialized the provided model using the SerializationFormatterFactory.GetFormatter(). More... | |
| object | DeserializeFromParameter (byte[] parameter) |
| Takes a byte array and uses the MobileFormatter to reconstitute it into a model reference. More... | |
Protected Attributes | |
| T | viewModel = null |
| A reference to the view model. More... | |
| BindingManager | Bindings = null |
| The BindingManager for this Activity. More... | |
CSLA helper to be used in place of the normal Xamarin Android activity that contains a reference to a CSLA ViewModel and a BindingManager.
| T | A type that inherits from the ViewModel. |
| Z | The type that is defined as used by T. |
| T | : | ViewModel<Z> |
Definition at line 25 of file ViewControllerBase.cs.
|
protected |
Takes a byte array and uses the MobileFormatter to reconstitute it into a model reference.
| parameter | An array of bytes to deserialized. |
Definition at line 61 of file ViewControllerBase.cs.
|
protected |
Serializes the ViewModel's model property using the SerializationFormatterFactory.GetFormatter().
Used to serialize and transfer models between activities.
Definition at line 41 of file ViewControllerBase.cs.
|
protected |
Serialized the provided model using the SerializationFormatterFactory.GetFormatter().
Used to serialize and transfer models between activities.
| model | A reference to the model to serialize. |
Definition at line 51 of file ViewControllerBase.cs.
|
protected |
The BindingManager for this Activity.
Definition at line 35 of file ViewControllerBase.cs.
|
protected |
A reference to the view model.
Definition at line 30 of file ViewControllerBase.cs.