C# Класс AK.F1.Timing.Service.Utility.IcsConverter

Converts http://www.f1calendar.com/ ICS files to the race XML document schema as expected by the service. This class is .
Показать файл Открыть проект

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

Метод Описание
ToXDocument ( string path, int startTimeOffset = -2 ) : System.Xml.Linq.XDocument

Converts the specified http://www.f1calendar.com/ ICS file to a race XML document schema expected by the service.

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

Метод Описание
GetRaceId ( IEvent e ) : string
GetRaceName ( IEvent e ) : string
GetSessionId ( IEvent e ) : string
GetSessionName ( IEvent e ) : string
GetSessionType ( IEvent e ) : SessionType

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

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

Converts the specified http://www.f1calendar.com/ ICS file to a race XML document schema expected by the service.
/// Thrown when is . /// /// Thrown when is of zero length. ///
public static ToXDocument ( string path, int startTimeOffset = -2 ) : System.Xml.Linq.XDocument
path string The path of the ICS file.
startTimeOffset int The start time offset (in minutes).
Результат System.Xml.Linq.XDocument