C# Class Fizzi.Libraries.ChallongeApiWrapper.ChallongePortal

Afficher le fichier Open project: JLaferri/ChallongeMatchDisplay Class Usage Examples

Méthodes publiques

Méthode Description
ChallongePortal ( string apiKey ) : System
ChallongePortal ( string apiKey, string subdomain ) : System
EndTournament ( int tournamentId ) : void
GetMatches ( int tournamentId ) : IEnumerable
GetParticipants ( int tournamentId ) : IEnumerable
GetTournaments ( ) : IEnumerable
ReportMatchWinner ( int tournamentId, int matchId, int winnerId ) : void
SetParticipantMisc ( int tournamentId, int participantId, string misc ) : void
ShowTournament ( int tournamentId ) : Fizzi.Libraries.ChallongeApiWrapper.Tournament

Private Methods

Méthode Description
throwOnError ( IRestResponse response ) : void

Method Details

ChallongePortal() public méthode

public ChallongePortal ( string apiKey ) : System
apiKey string
Résultat System

ChallongePortal() public méthode

public ChallongePortal ( string apiKey, string subdomain ) : System
apiKey string
subdomain string
Résultat System

EndTournament() public méthode

public EndTournament ( int tournamentId ) : void
tournamentId int
Résultat void

GetMatches() public méthode

public GetMatches ( int tournamentId ) : IEnumerable
tournamentId int
Résultat IEnumerable

GetParticipants() public méthode

public GetParticipants ( int tournamentId ) : IEnumerable
tournamentId int
Résultat IEnumerable

GetTournaments() public méthode

public GetTournaments ( ) : IEnumerable
Résultat IEnumerable

ReportMatchWinner() public méthode

public ReportMatchWinner ( int tournamentId, int matchId, int winnerId ) : void
tournamentId int
matchId int
winnerId int
Résultat void

SetParticipantMisc() public méthode

public SetParticipantMisc ( int tournamentId, int participantId, string misc ) : void
tournamentId int
participantId int
misc string
Résultat void

ShowTournament() public méthode

public ShowTournament ( int tournamentId ) : Fizzi.Libraries.ChallongeApiWrapper.Tournament
tournamentId int
Résultat Fizzi.Libraries.ChallongeApiWrapper.Tournament