C# Class ExoModel.Json.JsonModelTypeProvider

Inheritance: ReflectionModelTypeProvider
Show file Open project: vc3/ExoModel Class Usage Examples

Private Properties

Property Type Description
JsonModelTypeProvider System
JsonModelTypeProvider System

Protected Methods

Method Description
CreateModelType ( string @namespace, Type type, string format ) : ReflectionModelType
CreateReferenceProperty ( ModelType declaringType, PropertyInfo property, string name, string label, string helptext, string format, bool isStatic, ModelType propertyType, bool isList, bool isReadOnly, bool isPersisted, Attribute attributes ) : ModelReferenceProperty
CreateValueProperty ( ModelType declaringType, PropertyInfo property, string name, string label, string helptext, string format, bool isStatic, Type propertyType, TypeConverter converter, bool isList, bool isReadOnly, bool isPersisted, Attribute attributes ) : ModelValueProperty

Private Methods

Method Description
JsonModelTypeProvider ( Assembly @assembly, JsonEntityContext entityContext ) : System
JsonModelTypeProvider ( Assembly @assembly, string @namespace, JsonEntityContext entityContext ) : System

Method Details

CreateModelType() protected method

protected CreateModelType ( string @namespace, Type type, string format ) : ReflectionModelType
@namespace string
type System.Type
format string
return ReflectionModelType

CreateReferenceProperty() protected method

protected CreateReferenceProperty ( ModelType declaringType, PropertyInfo property, string name, string label, string helptext, string format, bool isStatic, ModelType propertyType, bool isList, bool isReadOnly, bool isPersisted, Attribute attributes ) : ModelReferenceProperty
declaringType ModelType
property System.Reflection.PropertyInfo
name string
label string
helptext string
format string
isStatic bool
propertyType ModelType
isList bool
isReadOnly bool
isPersisted bool
attributes System.Attribute
return ModelReferenceProperty

CreateValueProperty() protected method

protected CreateValueProperty ( ModelType declaringType, PropertyInfo property, string name, string label, string helptext, string format, bool isStatic, Type propertyType, TypeConverter converter, bool isList, bool isReadOnly, bool isPersisted, Attribute attributes ) : ModelValueProperty
declaringType ModelType
property System.Reflection.PropertyInfo
name string
label string
helptext string
format string
isStatic bool
propertyType System.Type
converter System.ComponentModel.TypeConverter
isList bool
isReadOnly bool
isPersisted bool
attributes System.Attribute
return ModelValueProperty