Search Results for

    Show / Hide Table of Contents

    Class ExpressionPromoter

    ExpressionPromoter

    Inheritance
    System.Object
    ExpressionPromoter
    Implements
    IExpressionPromoter
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: System.Linq.Dynamic.Core.Parser
    Assembly: System.Linq.Dynamic.Core.dll
    Syntax
    public class ExpressionPromoter : IExpressionPromoter

    Constructors

    | Improve this Doc View Source

    ExpressionPromoter(ParsingConfig)

    Initializes a new instance of the ExpressionPromoter class.

    Declaration
    public ExpressionPromoter(ParsingConfig config)
    Parameters
    Type Name Description
    ParsingConfig config

    The ParsingConfig.

    Methods

    | Improve this Doc View Source

    Promote(Expression, Type, Boolean, Boolean)

    Promote an expression

    Declaration
    public virtual Expression Promote(Expression expr, Type type, bool exact, bool convertExpr)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expr

    Source expression

    System.Type type

    Destination data type to promote

    System.Boolean exact

    If the match must be exact

    System.Boolean convertExpr

    Convert expression

    Returns
    Type Description
    System.Linq.Expressions.Expression

    The promoted System.Linq.Expressions.Expression or null.

    Implements

    IExpressionPromoter
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX