C# Класс AK.F1.Timing.Service.Program

F1 Live-Timing Service for .NET 4.
Показать файл Открыть проект

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

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

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

Метод Описание
CreateScheduler ( ) : IScheduler
GetConfiguration ( ) : IServiceConfiguration
Program ( ) : System

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

ConvertIcs() публичный метод

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).
Результат void

Main() публичный статический метод

Application entry point.
public static Main ( string args ) : void
args string The application arguments.
Результат void

Start() публичный метод

Reads the schedule as specified by the configuration and starts the scheduler.
public Start ( ) : void
Результат void

Validate() публичный метод

Validates the configuration and reports any errors.
public Validate ( ) : void
Результат void