AK.F1.Timing.Model.Session.SessionModelPrinter.Print C# (CSharp) Method

Print() public static method

public static Print ( this session ) : void
session this
return void
        public static void Print(this SessionModel session)
        {
            switch(session.SessionType) {
                case SessionType.Practice:
                    WritePractice(session);
                    break;
                case SessionType.Qually:
                    WriteQually(session);
                    break;
                case SessionType.Race:
                    WriteRace(session);
                    break;
                default:
                    throw new ArgumentOutOfRangeException();
            }

            WriteTrackStatistics(session);
            WriteSessionStatistics(session);
        }