コード例 #1
0
        public static IEnumerable <EnumCode> GetSelectedCodes()
        {
            IEnumerable <ConfigCodeEnum> symbolList = EnumUtilsExtensions.GetSelectedItems <ConfigCodeEnum>().ToList();

            IEnumerable <EnumCode> configList = symbolList.Select((c) => ((EnumCode)c)).ToList();

            return(configList);
        }
コード例 #2
0
        public static IEnumerable <ConfigRoleEnum> GetSelectedEnums()
        {
            IEnumerable <ConfigRoleEnum> configList = EnumUtilsExtensions.GetSelectedItems <ConfigRoleEnum>().ToList();

            return(configList);
        }