C# Class Build2014.Csharp5.PointJson

Mostra file Open project: ufcpp/UfcppSample Class Usage Examples

Public Methods

Method Description
ArrayToString ( this points ) : string
FromJson ( Newtonsoft.Json.Linq.JArray array ) : IEnumerable
ParseArray ( string json ) : IEnumerable
ToJson ( IEnumerable points ) : Newtonsoft.Json.Linq.JArray

Private Methods

Method Description
TryGetInt ( JToken json, int &value ) : bool

Method Details

ArrayToString() public static method

public static ArrayToString ( this points ) : string
points this
return string

FromJson() public static method

public static FromJson ( Newtonsoft.Json.Linq.JArray array ) : IEnumerable
array Newtonsoft.Json.Linq.JArray
return IEnumerable

ParseArray() public static method

public static ParseArray ( string json ) : IEnumerable
json string
return IEnumerable

ToJson() public static method

public static ToJson ( IEnumerable points ) : Newtonsoft.Json.Linq.JArray
points IEnumerable
return Newtonsoft.Json.Linq.JArray