コード例 #1
0
ファイル: EnumConverter.cs プロジェクト: otrlifaj/choirify
        internal static string GetDressOrderTypeNameString(DressOrderType dressOrderType)
        {
            string result = null;

            switch (dressOrderType)
            {
            case DressOrderType.Own:
                result = "Vlastní";
                break;

            case DressOrderType.Borrowed:
                result = "Už půjčené";
                break;

            case DressOrderType.XS:
                result = "XS";
                break;

            case DressOrderType.S:
                result = "S";
                break;

            case DressOrderType.M:
                result = "M";
                break;

            case DressOrderType.L:
                result = "L";
                break;
            }
            return(result);
        }
コード例 #2
0
ファイル: EnumConverter.cs プロジェクト: otrlifaj/choirify
        internal static string GetSingerDressOrderTypeNameString(DressOrderType dressOrderType)
        {
            string result = null;

            switch (dressOrderType)
            {
            case DressOrderType.Own:
                result = "Mám vlastní";
                break;

            case DressOrderType.Borrowed:
                result = "Už mám půjčené";
                break;

            case DressOrderType.XS:
                result = "Chci půjčit XS";
                break;

            case DressOrderType.S:
                result = "Chci půjčit S";
                break;

            case DressOrderType.M:
                result = "Chci půjčit M";
                break;

            case DressOrderType.L:
                result = "Chci půjčit L";
                break;
            }
            return(result);
        }