Exemple #1
0
        // Tries to translate the string describing into an Aggregation.Type
        // if there is not corresponding aggregator return false to signal the semantic failure
        public static bool CreateAggregationTypeFromName(string aggregationName, ref Aggregation.Kinds aggregationKind)
        {
            aggregationKind = Aggregation.CreateAggregationKindFromName(aggregationName);

            if (aggregationKind == Aggregation.Kinds.Undefined)
            {
                return(false);
            }

            return(true);
        }