C# Class AK.F1.Timing.Service.Program

F1 Live-Timing Service for .NET 4.
Datei anzeigen Open project: simoneb/ak-f1-timing

Public Methods

Method Description
ConvertIcs ( string path, int startTimeOffset = -2 ) : void

Converts the specified BBC ICS file to a race XML document expected by the service.

Main ( string args ) : void

Application entry point.

Start ( ) : void

Reads the schedule as specified by the configuration and starts the scheduler.

Validate ( ) : void

Validates the configuration and reports any errors.

Private Methods

Method Description
CreateScheduler ( ) : IScheduler
GetConfiguration ( ) : IServiceConfiguration
Program ( ) : System

Method Details

ConvertIcs() public method

Converts the specified BBC ICS file to a race XML document expected by the service.
/// Thrown when is . /// /// Thrown when is of zero length. ///
public ConvertIcs ( string path, int startTimeOffset = -2 ) : void
path string The path of the ICS file.
startTimeOffset int The start time offset (in minutes).
return void

Main() public static method

Application entry point.
public static Main ( string args ) : void
args string The application arguments.
return void

Start() public method

Reads the schedule as specified by the configuration and starts the scheduler.
public Start ( ) : void
return void

Validate() public method

Validates the configuration and reports any errors.
public Validate ( ) : void
return void