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

Afficher le fichier Open project: JamesDunne/RESTful.tt Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CourseServiceClient ( Uri baseUri, IRequestAuthentication authentication ) : System
baseUri System.Uri
authentication IRequestAuthentication
Résultat System

EncodeRFC3986() public static méthode

public static EncodeRFC3986 ( string value ) : string
value string
Résultat string

GetCourseByCallNumber() public méthode

public GetCourseByCallNumber ( string courseCallNumber, [ expand ) : RestfulServiceRequest
courseCallNumber string
expand [
Résultat RestfulServiceRequest

GetCourseByID() public méthode

public GetCourseByID ( int courseId, [ expand ) : RestfulServiceRequest
courseId int
expand [
Résultat RestfulServiceRequest

GetMyCourses() public méthode

public GetMyCourses ( [ expand ) : RestfulServiceRequest
expand [
Résultat RestfulServiceRequest