C# Класс Fizzi.Libraries.ChallongeApiWrapper.ChallongePortal

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
throwOnError ( IRestResponse response ) : void

Описание методов

ChallongePortal() публичный Метод

public ChallongePortal ( string apiKey ) : System
apiKey string
Результат System

ChallongePortal() публичный Метод

public ChallongePortal ( string apiKey, string subdomain ) : System
apiKey string
subdomain string
Результат System

EndTournament() публичный Метод

public EndTournament ( int tournamentId ) : void
tournamentId int
Результат void

GetMatches() публичный Метод

public GetMatches ( int tournamentId ) : IEnumerable
tournamentId int
Результат IEnumerable

GetParticipants() публичный Метод

public GetParticipants ( int tournamentId ) : IEnumerable
tournamentId int
Результат IEnumerable

GetTournaments() публичный Метод

public GetTournaments ( ) : IEnumerable
Результат IEnumerable

ReportMatchWinner() публичный Метод

public ReportMatchWinner ( int tournamentId, int matchId, int winnerId ) : void
tournamentId int
matchId int
winnerId int
Результат void

SetParticipantMisc() публичный Метод

public SetParticipantMisc ( int tournamentId, int participantId, string misc ) : void
tournamentId int
participantId int
misc string
Результат void

ShowTournament() публичный Метод

public ShowTournament ( int tournamentId ) : Fizzi.Libraries.ChallongeApiWrapper.Tournament
tournamentId int
Результат Fizzi.Libraries.ChallongeApiWrapper.Tournament