SerializationContext Class |
Namespace: SanteDB.Core.Applets.ViewModel
The SerializationContext type exposes the following members.
| Name | Description | |
|---|---|---|
| SerializationContext(String, IViewModelSerializer, Object) |
Gets the serialization context
| |
| SerializationContext(String, IViewModelSerializer, Object, SerializationContext) |
Gets the serialization context
|
| Name | Description | |
|---|---|---|
| Context |
Gets the view model serializer in context
| |
| DebugView |
Get the debug view
| |
| ElementDescription |
Gets or sets the view model description of the current element
| |
| Instance |
Gets or sets the instance value
| |
| LoadedProperties |
Loaded properties
| |
| ObjectId |
Gets the current object identifier (from a JSON property perspective
| |
| Parent |
Gets the parent of the current serialization context
| |
| PropertyName |
Gets the name of the element
| |
| Root |
Gets the root context
| |
| ViewModelDescription |
Gets or sets the root view model description
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetParentObjectId |
Gets the object id of the specified object from the parent instance if it exists
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RegisterMissTarget |
Register that this property was missed
| |
| ShouldForceLoad |
Returns true when child property information should be force loaded
| |
| ShouldSerialize |
Returns true if the object should be serialized based on the data at hand
| |
| ToString |
Property string
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) | |
| GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |