C# Class DotNetWebToolkit.Server.JsonTypeMap

显示文件 Open project: chrisdunelm/DotNetWebToolkit Class Usage Examples

Public Methods

Method Description
FromString ( string s ) : JsonTypeMap
GetFieldByName ( Type type, string jsName ) : FieldInfo
GetFieldName ( Type type, FieldInfo field ) : string
GetFieldName ( Type type, string fieldName ) : string
GetTypeByName ( string jsName ) : Type
GetTypeName ( Type type ) : string
JsonTypeMap ( string>.Dictionary typeNames, string>.Dictionary fieldNames ) : System
ToString ( ) : string

Method Details

FromString() public static method

public static FromString ( string s ) : JsonTypeMap
s string
return JsonTypeMap

GetFieldByName() public method

public GetFieldByName ( Type type, string jsName ) : FieldInfo
type System.Type
jsName string
return System.Reflection.FieldInfo

GetFieldName() public method

public GetFieldName ( Type type, FieldInfo field ) : string
type System.Type
field System.Reflection.FieldInfo
return string

GetFieldName() public method

public GetFieldName ( Type type, string fieldName ) : string
type System.Type
fieldName string
return string

GetTypeByName() public method

public GetTypeByName ( string jsName ) : Type
jsName string
return System.Type

GetTypeName() public method

public GetTypeName ( Type type ) : string
type System.Type
return string

JsonTypeMap() public method

public JsonTypeMap ( string>.Dictionary typeNames, string>.Dictionary fieldNames ) : System
typeNames string>.Dictionary
fieldNames string>.Dictionary
return System

ToString() public method

public ToString ( ) : string
return string