Kooboo.Commerce.Search.Facets.FacetRange.IsInclusive C# (CSharp) Méthode

IsInclusive() static private méthode

static private IsInclusive ( char ch ) : bool
ch char
Résultat bool
        static bool IsInclusive(char ch)
        {
            switch (ch)
            {
                case '[':
                case ']':
                    return true;
                case '{':
                case '}':
                    return false;
                default:
                    throw new ArgumentException("Could not understand range boundary char " + ch + ".");
            }
        }