Beispiel #1
0
        public bool MatchesFeature(Feature feature)
        {
            switch (Type)
            {
            case Operator.Any:
                return(Matchers.Any(m => m.MatchesFeature(feature)));

            case Operator.All:
                return(Matchers.All(m => m.MatchesFeature(feature)));

            case Operator.None:
                return(!Matchers.Any(m => m.MatchesFeature(feature)));

            default:
                return(false);
            }
        }