C# Class YukiYume.GitHub.Json.JsonObjectService

JSON implementation of IObjectService
Inheritance: BaseService, IObjectService
Afficher le fichier Open project: yukiyume/YukiYume.GitHub

Méthodes publiques

Méthode Description
GetBlob ( User user, Repository repository, string blobSha ) : byte[]
GetBlob ( string userName, string repositoryName, string blobSha ) : byte[]
GetBlobMeta ( User user, Repository repository, string treeSha, string path ) : Blob
GetBlobMeta ( string userName, string repositoryName, string treeSha, string path ) : Blob
JsonObjectService ( ) : System
JsonObjectService ( string gitHubUserName, string gitHubApiToken ) : System
TreeList ( User user, Repository repository, string treeSha ) : IEnumerable
TreeList ( string userName, string repositoryName, string treeSha ) : IEnumerable

Méthodes protégées

Méthode Description
ValidateGetBlobArguments ( string userName, string repositoryName, string blobSha ) : void
ValidateGetBlobMetaArguments ( string userName, string repositoryName, string treeSha, string path ) : void
ValidateTreeListArguments ( string userName, string repositoryName, string treeSha ) : void

Method Details

GetBlob() public méthode

public GetBlob ( User user, Repository repository, string blobSha ) : byte[]
user User
repository Repository
blobSha string
Résultat byte[]

GetBlob() public méthode

public GetBlob ( string userName, string repositoryName, string blobSha ) : byte[]
userName string
repositoryName string
blobSha string
Résultat byte[]

GetBlobMeta() public méthode

public GetBlobMeta ( User user, Repository repository, string treeSha, string path ) : Blob
user User
repository Repository
treeSha string
path string
Résultat Blob

GetBlobMeta() public méthode

public GetBlobMeta ( string userName, string repositoryName, string treeSha, string path ) : Blob
userName string
repositoryName string
treeSha string
path string
Résultat Blob

JsonObjectService() public méthode

public JsonObjectService ( ) : System
Résultat System

JsonObjectService() public méthode

public JsonObjectService ( string gitHubUserName, string gitHubApiToken ) : System
gitHubUserName string
gitHubApiToken string
Résultat System

TreeList() public méthode

public TreeList ( User user, Repository repository, string treeSha ) : IEnumerable
user User
repository Repository
treeSha string
Résultat IEnumerable

TreeList() public méthode

public TreeList ( string userName, string repositoryName, string treeSha ) : IEnumerable
userName string
repositoryName string
treeSha string
Résultat IEnumerable

ValidateGetBlobArguments() protected static méthode

protected static ValidateGetBlobArguments ( string userName, string repositoryName, string blobSha ) : void
userName string
repositoryName string
blobSha string
Résultat void

ValidateGetBlobMetaArguments() protected static méthode

protected static ValidateGetBlobMetaArguments ( string userName, string repositoryName, string treeSha, string path ) : void
userName string
repositoryName string
treeSha string
path string
Résultat void

ValidateTreeListArguments() protected static méthode

protected static ValidateTreeListArguments ( string userName, string repositoryName, string treeSha ) : void
userName string
repositoryName string
treeSha string
Résultat void