C# Class YukiYume.GitHub.Json.JsonNetworkService

JSON implementation of INetworkService
Inheritance: BaseService, INetworkService
Mostra file Open project: yukiyume/YukiYume.GitHub

Public Methods

Method Description
GetNetworkData ( User user, Repository repository, string netHash ) : IEnumerable
GetNetworkData ( User user, Repository repository, string netHash, int start, int end ) : IEnumerable
GetNetworkData ( string userName, string repository, string netHash ) : IEnumerable
GetNetworkData ( string userName, string repository, string netHash, int start, int end ) : IEnumerable
GetNetworkMeta ( User user, Repository repository ) : NetworkMeta
GetNetworkMeta ( string userName, string repository ) : NetworkMeta
JsonNetworkService ( ) : System
JsonNetworkService ( string gitHubUserName, string gitHubApiToken ) : System

Protected Methods

Method Description
ValidateNetworkData ( string userName, string repository, string netHash ) : void

Method Details

GetNetworkData() public method

public GetNetworkData ( User user, Repository repository, string netHash ) : IEnumerable
user User
repository Repository
netHash string
return IEnumerable

GetNetworkData() public method

public GetNetworkData ( User user, Repository repository, string netHash, int start, int end ) : IEnumerable
user User
repository Repository
netHash string
start int
end int
return IEnumerable

GetNetworkData() public method

public GetNetworkData ( string userName, string repository, string netHash ) : IEnumerable
userName string
repository string
netHash string
return IEnumerable

GetNetworkData() public method

public GetNetworkData ( string userName, string repository, string netHash, int start, int end ) : IEnumerable
userName string
repository string
netHash string
start int
end int
return IEnumerable

GetNetworkMeta() public method

public GetNetworkMeta ( User user, Repository repository ) : NetworkMeta
user User
repository Repository
return NetworkMeta

GetNetworkMeta() public method

public GetNetworkMeta ( string userName, string repository ) : NetworkMeta
userName string
repository string
return NetworkMeta

JsonNetworkService() public method

public JsonNetworkService ( ) : System
return System

JsonNetworkService() public method

public JsonNetworkService ( string gitHubUserName, string gitHubApiToken ) : System
gitHubUserName string
gitHubApiToken string
return System

ValidateNetworkData() protected static method

protected static ValidateNetworkData ( string userName, string repository, string netHash ) : void
userName string
repository string
netHash string
return void