コード例 #1
0
        private string GetParamName()
        {
            if (widgetItem.Name == WidgetItems.CompanyTrendTableChartWidget().Name)
            {
                return(ParameterList.CorporationUncheckedItems);
            }
            if (widgetItem.Name == WidgetItems.IntlProdTrendTableChartWidget().Name)
            {
                return(ParameterList.IntProductUncheckedItems);
            }
            if (widgetItem.Name == WidgetItems.ProductTrendTableChartWidget().Name)
            {
                return(ParameterList.ProductUncheckedItems);
            }
            if (widgetItem.Name == WidgetItems.SegmentTrendTableChartWidget().Name)
            {
                return(ParameterList.SegmentUncheckedItems);
            }

            return("ParamNames");
        }
コード例 #2
0
        private string GetUncheckedItems(IReadOnlyDictionary <string, string> param)
        {
            if (widgetItem.Name == WidgetItems.CompanyTrendTableChartWidget().Name)
            {
                return(param[ParameterList.CorporationUncheckedItems]);
            }
            if (widgetItem.Name == WidgetItems.IntlProdTrendTableChartWidget().Name)
            {
                return(param[ParameterList.IntProductUncheckedItems]);
            }
            if (widgetItem.Name == WidgetItems.ProductTrendTableChartWidget().Name)
            {
                return(param[ParameterList.ProductUncheckedItems]);
            }
            if (widgetItem.Name == WidgetItems.SegmentTrendTableChartWidget().Name)
            {
                return(param[ParameterList.SegmentUncheckedItems]);
            }

            return("UncheckedItems");
        }