public static void Use(IExpressionTypeTransformer expressionTypeTransformer)
        {
            if (expressionTypeTransformer == null)
            {
                throw new ArgumentNullException("expressionTypeTransformer", "'ExpressionTypeTransformer' parameter should be set to non nullable value.");
            }

            ExpressionTypeTransformer = expressionTypeTransformer;
        }
Ejemplo n.º 2
0
 public void InitializeTest()
 {
     _expressionTypeTransformer = new ExpressionTypeTransformer();
 }
Ejemplo n.º 3
0
 static ExpressionExtensions()
 {
     _expressionTypeTransformer    = ExpressionParserConfiguration.ExpressionTypeTransformer;
     _stringificationRulesResolver = ExpressionParserConfiguration.StringificationRulesResolver;
     _nullComparisonResolver       = ExpressionParserConfiguration.NullComparisonResolver;
 }