Version

ModelBase Class Members

The following tables list the members exposed by ModelBase.

Public Constructors
 NameDescription
Public ConstructorModelBase Constructor  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options  
Public Methods
 NameDescription
Public MethodToJsonSerializes the object to JSON.  
Protected Methods
 NameDescription
Protected MethodCamelizeConverts the provided string to camel case.  
Protected MethodGetBoolGets the value of a bool property of the model.  
Protected MethodGetCharSets the value of a char property of the model.  
Protected MethodGetDateTimeGets the value of a DateTime property of the model.  
Protected MethodGetDoubleGets the value of a double property of the model.  
Protected MethodGetIEnumerable<T>Gets the value of an IEnumerable property of the model. If the value is null a new IEnumerable of type T will be created.  
Protected MethodGetIntGets the value of an int property of the model.  
Protected MethodGetJSLiteralSets the value of a literal property of the model.  
Protected MethodGetLongGets the value of a long property of the model.  
Protected MethodGetModel<T>Gets the value of an IModel property of the model. If the value is null a new model of type T will be created.  
Protected MethodGetStringGets the value of a string property of the model.  
Protected MethodGetStringEnum<T>Gets the value of a string property whose values are the lowercase values of an Enum.  
Protected MethodGetValue<T>Gets a property value of arbitrary type.  
Protected MethodGetValueModel<T>Gets the value of an IModel property of the model.  
Protected MethodJsonFromBoolSerializes a bool object into json.  
Protected MethodJsonFromDateTimeSerializes a DateTime object into json Date object.  
Protected MethodJsonFromDoubleSerializes a double object into json.  
Protected MethodJsonFromFloatSerializes a float object into json.  
Protected MethodJsonFromIDictionarySerializes an IDictionary of objects into json.  
Protected MethodJsonFromIEnumerableSerializes an IEnumerable object into json.  
Protected MethodJsonFromIntSerializes an int object into json.  
Protected MethodJsonFromModelStoreSerializes the internal model store into json.  
Protected MethodJsonFromObjectSerializes an arbitrary object in json using the typed serialization methods.  
Protected MethodJsonFromStringSerializes a string object into json string, escaping all single quotes.  
Protected MethodSetBoolSets a value to a bool property of the model.  
Protected MethodSetBrush  
Protected MethodSetCamelizedStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum.  
Protected MethodSetCharGets the value of a char property of the model.  
Protected MethodSetDateTimeSets a value to a DateTime property of the model.  
Protected MethodSetDoubleSets a value to a double property of the model.  
Protected MethodSetIEnumerable<T>Sets a value to an IEnumerable property of the model.  
Protected MethodSetIntSets a value to an int property of the model.  
Protected MethodSetJSLiteralGets the value of a literal property of the model.  
Protected MethodSetLongSets a value to a long property of the model.  
Protected MethodSetModel<T>Sets a value to an IModel property of the model.  
Protected MethodSetStringSets a value to a string property of the model.  
Protected MethodSetStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum.  
Protected MethodSetValue<T>Sets a property value of arbitrary type.  
Protected MethodTransformDataTransforms the data.  
Protected MethodValidValueType<T>Checks type for value of existing property. Returns false as well if non existing property.  
See Also

View on GitHub