C# Class IVO.CMS.API.Models.JSONTranslateExtensions

显示文件 Open project: JamesDunne/ivo-cms

Public Methods

Method Description
FromJSON ( this cmj ) : Errorable
FromJSON ( this rfm ) : Errorable
FromJSON ( this stm ) : Errorable
FromJSON ( this tgm ) : Errorable
ToJSON ( this cm ) : CommitResponse
ToJSON ( this rf ) : RefResponse
ToJSON ( this st ) : StageResponse
ToJSON ( this tg ) : TagResponse
ToJSON ( this err ) : object
ToJSON ( this errors ) : object[]

Private Methods

Method Description
FromDate ( DateTimeOffset value ) : string
ToDate ( string value ) : DateTimeOffset

Method Details

FromJSON() public static method

public static FromJSON ( this cmj ) : Errorable
cmj this
return Errorable

FromJSON() public static method

public static FromJSON ( this rfm ) : Errorable
rfm this
return Errorable

FromJSON() public static method

public static FromJSON ( this stm ) : Errorable
stm this
return Errorable

FromJSON() public static method

public static FromJSON ( this tgm ) : Errorable
tgm this
return Errorable

ToJSON() public static method

public static ToJSON ( this cm ) : CommitResponse
cm this
return CommitResponse

ToJSON() public static method

public static ToJSON ( this rf ) : RefResponse
rf this
return RefResponse

ToJSON() public static method

public static ToJSON ( this st ) : StageResponse
st this
return StageResponse

ToJSON() public static method

public static ToJSON ( this tg ) : TagResponse
tg this
return TagResponse

ToJSON() public static method

public static ToJSON ( this err ) : object
err this
return object

ToJSON() public static method

public static ToJSON ( this errors ) : object[]
errors this
return object[]