Application.Common.Helper.CallerTypeToString C# (CSharp) Method

CallerTypeToString() public static method

public static CallerTypeToString ( CallerType callerType ) : string
callerType CallerType
return string
        public static string CallerTypeToString(CallerType callerType)
        {
            switch (callerType)
            {
                case CallerType.Any:
                    return "A";
                case CallerType.Employee:
                    return "E";
                case CallerType.Client:
                    return "C";
                case CallerType.Operator:
                    return "O";
                default:
                    throw new ArgumentOutOfRangeException("callerType");
            }
        }