C# Class ExoModel.Json.JsonModelTypeProvider

Inheritance: ReflectionModelTypeProvider
Afficher le fichier Open project: vc3/ExoModel Class Usage Examples

Private Properties

Свойство Type Description
JsonModelTypeProvider System
JsonModelTypeProvider System

Méthodes protégées

Méthode 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

Méthode Description
JsonModelTypeProvider ( Assembly @assembly, JsonEntityContext entityContext ) : System
JsonModelTypeProvider ( Assembly @assembly, string @namespace, JsonEntityContext entityContext ) : System

Method Details

CreateModelType() protected méthode

protected CreateModelType ( string @namespace, Type type, string format ) : ReflectionModelType
@namespace string
type System.Type
format string
Résultat ReflectionModelType

CreateReferenceProperty() protected méthode

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
Résultat ModelReferenceProperty

CreateValueProperty() protected méthode

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
Résultat ModelValueProperty