Application.Common.Helper.PersonTypeToString C# (CSharp) 메소드

PersonTypeToString() 공개 정적인 메소드

public static PersonTypeToString ( PersonType personType ) : string
personType PersonType
리턴 string
        public static string PersonTypeToString(PersonType personType)
        {
            switch (personType)
            {
                case PersonType.Employee: return "E";
                case PersonType.Client: return "C";
                default:
                    throw new ArgumentOutOfRangeException("personType");
            }
        }