AK.F1.Timing.Service.Utility.IcsConverter.GetSessionId C# (CSharp) Метод

GetSessionId() приватный статический Метод

private static GetSessionId ( IEvent e ) : string
e IEvent
Результат string
        private static string GetSessionId(IEvent e)
        {
            switch (GetSessionType(e))
            {
                case SessionType.P1:
                    return "practice1";
                case SessionType.P2:
                    return "practice2";
                case SessionType.P3:
                    return "practice3";
                case SessionType.Qually:
                    return "qually";
                case SessionType.Race:
                    return "race";
                default:
                    throw new ArgumentOutOfRangeException();
            }
        }