Inheritance: FubuLocalization.StringToken
Exemple #1
0
        private static void filterIs <T>(OperatorKeys key, params Func <Type, bool>[] typeFilters)
            where T : IPropertyOperation, new()
        {
            var handler = new BinaryFilterHandler <T>(key, typeFilters);

            _handlers.Add(handler);
        }
Exemple #2
0
        private static void stringOp(OperatorKeys key, Expression <Func <string, bool> > method)
        {
            var handler = new StringFilterHandler(key, method);

            _handlers.Add(handler);
        }
 public StringFilterHandler(OperatorKeys key, Expression <Func <string, bool> > expression)
 {
     _key          = key;
     _stringMethod = ReflectionHelper.GetMethod(expression);
 }
 public BinaryFilterHandler(OperatorKeys key, params Func <Type, bool>[] typeFilters)
 {
     _key         = key;
     _typeFilters = typeFilters;
 }