C# Class RedditStoreApp.Data.Core.RequestService

Afficher le fichier Open project: anroOfCode/reddit-w8-app Class Usage Examples

Méthodes publiques

Méthode Description
GetAsync ( string resource, bool useCache ) : Task
PostAsync ( string resource, String>.List paramas ) : Task
RequestService ( ) : System

Private Methods

Méthode Description
BuildResponse ( string content, HttpResponseMessage httpResp ) : Response
FormatResource ( string &resource ) : void
IsCached ( string resource ) : bool

Method Details

GetAsync() public méthode

public GetAsync ( string resource, bool useCache ) : Task
resource string
useCache bool
Résultat Task

PostAsync() public méthode

public PostAsync ( string resource, String>.List paramas ) : Task
resource string
paramas String>.List
Résultat Task

RequestService() public méthode

public RequestService ( ) : System
Résultat System