Exemplo n.º 1
0
        public static bool IsChartColumnType(QueryToken token, ChartColumnType ct)
        {
            if (token == null)
                return false;

            var type =  token.GetChartColumnType();

            if(type == null)
                return false;

            return Flag(ct, type.Value);
        }
Exemplo n.º 2
0
        public static bool IsChartColumnType(QueryToken token, ChartColumnType ct)
        {
            if (token == null)
            {
                return(false);
            }

            var type = token.GetChartColumnType();

            if (type == null)
            {
                return(false);
            }

            return(Flag(ct, type.Value));
        }