C# Class Jayrock.Json.Conversion.ObjectConstructor

Inheritance: IObjectConstructor
ファイルを表示 Open project: atifaziz/Jayrock Class Usage Examples

Public Methods

Method Description
CreateObject ( Jayrock.Json.Conversion.ImportContext context, JsonReader reader ) : ObjectConstructionResult
CreateObject ( Jayrock.Json.Conversion.ImportContext context, NamedJsonBuffer members ) : ObjectConstructionResult
ObjectConstructor ( Type type ) : System
ObjectConstructor ( Type type, ConstructorInfo ctors ) : System

Private Methods

Method Description
Bind ( Jayrock.Json.Conversion.ImportContext context, ParameterInfo parameters, NamedJsonBuffer members ) : int[] Bound indicies returned in the resulting array are one-based therefore zero means unbound.
FindMember ( NamedJsonBuffer members, string name ) : int
GetParametersCount ( object obj ) : IComparable
TryCreateObject ( Jayrock.Json.Conversion.ImportContext context, ConstructorInfo ctor, NamedJsonBuffer members ) : ObjectConstructionResult

Method Details

CreateObject() public method

public CreateObject ( Jayrock.Json.Conversion.ImportContext context, JsonReader reader ) : ObjectConstructionResult
context Jayrock.Json.Conversion.ImportContext
reader JsonReader
return ObjectConstructionResult

CreateObject() public method

public CreateObject ( Jayrock.Json.Conversion.ImportContext context, NamedJsonBuffer members ) : ObjectConstructionResult
context Jayrock.Json.Conversion.ImportContext
members NamedJsonBuffer
return ObjectConstructionResult

ObjectConstructor() public method

public ObjectConstructor ( Type type ) : System
type System.Type
return System

ObjectConstructor() public method

public ObjectConstructor ( Type type, ConstructorInfo ctors ) : System
type System.Type
ctors System.Reflection.ConstructorInfo
return System