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 .
파일 보기 프로젝트 열기: simoneb/ak-f1-timing

공개 메소드들

메소드 설명
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