Inheritance: FubuLocalization.StringToken
Esempio n. 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);
        }
Esempio n. 2
0
        private static void stringOp(OperatorKeys key, Expression <Func <string, bool> > method)
        {
            var handler = new StringFilterHandler(key, method);

            _handlers.Add(handler);
        }
Esempio n. 3
0
 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;
 }