C# Class Fizzi.Applications.ChallongeVisualization.Model.TournamentContext

Keeps tournament information synchronized via polling
Inheritance: IDisposable, INotifyPropertyChanged
显示文件 Open project: JLaferri/ChallongeMatchDisplay Class Usage Examples

Public Methods

Method Description
CommitChanges ( ) : void
Dispose ( ) : void
EndTournament ( ) : void
Refresh ( ) : void

Refresh context data

StartSynchronization ( System.TimeSpan timeInterval, int pollEvery ) : void
StopSynchronization ( ) : void
TournamentContext ( ChallongePortal portal, int tournamentId ) : System

Private Methods

Method Description
queryData ( ) : Tuple,IEnumerable>

Method Details

CommitChanges() public method

public CommitChanges ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EndTournament() public method

public EndTournament ( ) : void
return void

Refresh() public method

Refresh context data
public Refresh ( ) : void
return void

StartSynchronization() public method

public StartSynchronization ( System.TimeSpan timeInterval, int pollEvery ) : void
timeInterval System.TimeSpan
pollEvery int
return void

StopSynchronization() public method

public StopSynchronization ( ) : void
return void

TournamentContext() public method

public TournamentContext ( ChallongePortal portal, int tournamentId ) : System
portal Fizzi.Libraries.ChallongeApiWrapper.ChallongePortal
tournamentId int
return System