BExIS.Ddm.Model.SearchAttribute.GetAggregationType C# (CSharp) Method

GetAggregationType() public static method

public static GetAggregationType ( string value ) : AggregationType
value string
return AggregationType
        public static AggregationType GetAggregationType(string value)
        {
            switch (value)
            {
                case "distinct": return AggregationType.Distinct;
                case "union": return AggregationType.Union;
                default: return AggregationType.Distinct;
            }
        }