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

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