C# Class SchooxSharp.Api.Helpers.RequestHelper

显示文件 Open project: jamesbar2/SchooxSharp

Public Methods

Method Description
AddAuthentication ( this request, string apiKey, int academyId ) : void
AddNonBlankParameter ( this request, string key, object value ) : void
AddNonBlankParameter ( this request, string key, string value ) : void
AddNonBlankQueryString ( this request, string key, object value ) : void
AddNonBlankQueryString ( this request, string key, string value ) : void
SetJsonHandler ( this request ) : void

Method Details

AddAuthentication() public static method

public static AddAuthentication ( this request, string apiKey, int academyId ) : void
request this
apiKey string
academyId int
return void

AddNonBlankParameter() public static method

public static AddNonBlankParameter ( this request, string key, object value ) : void
request this
key string
value object
return void

AddNonBlankParameter() public static method

public static AddNonBlankParameter ( this request, string key, string value ) : void
request this
key string
value string
return void

AddNonBlankQueryString() public static method

public static AddNonBlankQueryString ( this request, string key, object value ) : void
request this
key string
value object
return void

AddNonBlankQueryString() public static method

public static AddNonBlankQueryString ( this request, string key, string value ) : void
request this
key string
value string
return void

SetJsonHandler() public static method

public static SetJsonHandler ( this request ) : void
request this
return void