Search Results for

    Show / Hide Table of Contents

    Class ExpressionExtensions

    Inheritance
    object
    ExpressionExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public static class ExpressionExtensions

    Methods

    | Edit this page View Source

    AppendSuffix<T>(Expression<Func<T, object>>, string)

    Appends suffix to the path separating it with a dot. This is especially useful with multi fields.

    Declaration
    public static Expression<Func<T, object>> AppendSuffix<T>(this Expression<Func<T, object>> expression, string suffix)
    Parameters
    Type Name Description
    Expression<Func<T, object>> expression

    the expression to which the suffix should be applied

    string suffix

    the suffix

    Returns
    Type Description
    Expression<Func<T, object>>
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    AppendSuffix<T, TValue>(Expression<Func<T, TValue>>, string)

    Declaration
    public static Expression<Func<T, TValue>> AppendSuffix<T, TValue>(this Expression<Func<T, TValue>> expression, string suffix)
    Parameters
    Type Name Description
    Expression<Func<T, TValue>> expression
    string suffix
    Returns
    Type Description
    Expression<Func<T, TValue>>
    Type Parameters
    Name Description
    T
    TValue
    • Edit this page
    • View Source
    In this article
    • Methods
      • AppendSuffix<T>(Expression<Func<T, object>>, string)
      • AppendSuffix<T, TValue>(Expression<Func<T, TValue>>, string)
    Back to top Generated by DocFX