C# Class WellDunne.REST.Pearson.LearningStudio.CourseServiceClient

Exibir arquivo Open project: JamesDunne/RESTful.tt Class Usage Examples

Public Methods

Method Description
CourseServiceClient ( Uri baseUri, IRequestAuthentication authentication ) : System
EncodeRFC3986 ( string value ) : string
GetCourseByCallNumber ( string courseCallNumber, [ expand ) : RestfulServiceRequest
GetCourseByID ( int courseId, [ expand ) : RestfulServiceRequest
GetMyCourses ( [ expand ) : RestfulServiceRequest

Private Methods

Method Description
_optional_commaDelimitedString_encodeString ( string value ) : string
_optional_commaDelimitedString_isSupplied ( string value ) : bool
_required_int_encodeString ( int value ) : string
_required_int_isSupplied ( int value ) : bool
_required_string_encodeString ( string value ) : string
_required_string_isSupplied ( string value ) : bool
constructRequestUri ( string route ) : Uri
constructRequestUri ( string route, string>.List queryValues ) : Uri

Method Details

CourseServiceClient() public method

public CourseServiceClient ( Uri baseUri, IRequestAuthentication authentication ) : System
baseUri System.Uri
authentication IRequestAuthentication
return System

EncodeRFC3986() public static method

public static EncodeRFC3986 ( string value ) : string
value string
return string

GetCourseByCallNumber() public method

public GetCourseByCallNumber ( string courseCallNumber, [ expand ) : RestfulServiceRequest
courseCallNumber string
expand [
return RestfulServiceRequest

GetCourseByID() public method

public GetCourseByID ( int courseId, [ expand ) : RestfulServiceRequest
courseId int
expand [
return RestfulServiceRequest

GetMyCourses() public method

public GetMyCourses ( [ expand ) : RestfulServiceRequest
expand [
return RestfulServiceRequest