Search Results for

    Show / Hide Table of Contents

    Class Evaluator

    Summary description for Evaluator.

    Inheritance
    System.Object
    Evaluator
    Namespace: ImageVault.Client.Query
    Assembly: ImageVault.Client.dll
    Syntax
    public static class Evaluator : Object

    Methods

    PartialEval(Expression)

    Performs evaluation and replacement of independent sub-trees

    Declaration
    public static Expression PartialEval(Expression expression)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression

    The root of the expression tree.

    Returns
    Type Description
    System.Linq.Expressions.Expression

    A new tree with sub-trees evaluated and replaced.

    PartialEval(Expression, Func<Expression, Boolean>)

    Performs evaluation and replacement of independent sub-trees

    Declaration
    public static Expression PartialEval(Expression expression, Func<Expression, bool> fnCanBeEvaluated)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression

    The root of the expression tree.

    System.Func<System.Linq.Expressions.Expression, System.Boolean> fnCanBeEvaluated

    A function that decides whether a given expression node can be part of the local function.

    Returns
    Type Description
    System.Linq.Expressions.Expression

    A new tree with sub-trees evaluated and replaced.

    In This Article
    Back to top (c) Meriworks 2002-2022