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

ファイルを表示 Open project: JamesDunne/RESTful.tt Class Usage Examples

Public Methods

Method Description
DocSharingServiceClient ( Uri baseUri, IRequestAuthentication authentication ) : System
DownloadDocument ( int courseId, int categoryId, int documentId ) : RestfulServiceRequest
EncodeRFC3986 ( string value ) : string
GetCategoriesForCourse ( int courseId ) : RestfulServiceRequest
GetDocumentsInCategoryForCourse ( int courseId, int categoryId ) : RestfulServiceRequest

Private Methods

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

Method Details

DocSharingServiceClient() public method

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

DownloadDocument() public method

public DownloadDocument ( int courseId, int categoryId, int documentId ) : RestfulServiceRequest
courseId int
categoryId int
documentId int
return RestfulServiceRequest

EncodeRFC3986() public static method

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

GetCategoriesForCourse() public method

public GetCategoriesForCourse ( int courseId ) : RestfulServiceRequest
courseId int
return RestfulServiceRequest

GetDocumentsInCategoryForCourse() public method

public GetDocumentsInCategoryForCourse ( int courseId, int categoryId ) : RestfulServiceRequest
courseId int
categoryId int
return RestfulServiceRequest