C# Class HelloWorld.JsonDataResolver

IJsonDataResolver 的一个简单实现
Inheritance: IJsonDataResolver
ファイルを表示 Open project: Ivony/HelloWorld

Public Methods

Method Description
JsonDataResolver ( ) : System
JsonDataResolver ( string dataRoot ) : System
LoadAllData ( ) : IEnumerable
LoadDataObject ( string name ) : Newtonsoft.Json.Linq.JObject

Private Methods

Method Description
LoadData ( string filepath ) : Newtonsoft.Json.Linq.JObject

Method Details

JsonDataResolver() public method

public JsonDataResolver ( ) : System
return System

JsonDataResolver() public method

public JsonDataResolver ( string dataRoot ) : System
dataRoot string
return System

LoadAllData() public method

public LoadAllData ( ) : IEnumerable
return IEnumerable

LoadDataObject() public method

public LoadDataObject ( string name ) : Newtonsoft.Json.Linq.JObject
name string
return Newtonsoft.Json.Linq.JObject