Search Results for

    Show / Hide Table of Contents

    Class FilterBase

    The filters' base class

    Inheritance
    object
    FilterBase
    AggregationFilter
    AndFilter
    ChildFilter
    DateRangeFilter
    ExistsFilter
    GeoBoundingBoxFilter
    GeoDistanceFilter
    NestedFilter
    NotFilter
    NumericRangeFilter
    OrFilter
    ParentFilter
    PrefixFilter
    TermFilter
    TermsFilter
    TreeFilter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [JsonConverter(typeof(JsonInheritanceConverter), new object[] { "kind" })]
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public abstract class FilterBase

    Methods

    FromExpression<TObject>(Expression<Func<TObject, TranslatedStringDictionary>>, string, IEnumerable<string>)

    Creates a new TermsFilter whose property name is retrieved from an expression.

    Declaration
    public static TermsFilter FromExpression<TObject>(Expression<Func<TObject, TranslatedStringDictionary>> property, string language, IEnumerable<string> terms)
    Parameters
    Expression<Func<TObject, TranslatedStringDictionary>> property

    The property expression.

    string language

    Specify the language to query inside the TranslatedStringDictionary

    IEnumerable<string> terms

    The search terms.

    Returns
    TermsFilter

    The terms filter.

    Type Parameters
    TObject

    The object type.

    FromExpression<TObject>(Expression<Func<TObject, TranslatedStringDictionary>>, string, string, bool)

    Creates a new TermFilter whose property name is retrieved from an expression.

    Declaration
    public static TermFilter FromExpression<TObject>(Expression<Func<TObject, TranslatedStringDictionary>> property, string term, string language = null, bool useAnalyzer = false)
    Parameters
    Expression<Func<TObject, TranslatedStringDictionary>> property

    The property expression.

    string term

    The search term.

    string language

    Specify the language to query inside the TranslatedStringDictionary

    bool useAnalyzer

    Specify whether to use the language analyzed version

    Returns
    TermFilter

    The term filter.

    Type Parameters
    TObject

    The object type.

    FromExpression<TObject>(Expression<Func<TObject, object>>, Analyzer, params string[])

    Creates a new TermsFilter whose property name is retrieved from an expression.

    Declaration
    public static TermsFilter FromExpression<TObject>(Expression<Func<TObject, object>> property, Analyzer analyzer, params string[] terms)
    Parameters
    Expression<Func<TObject, object>> property

    The property expression.

    Analyzer analyzer

    Specify if you want to query the analyzed field version

    string[] terms

    The search terms.

    Returns
    TermsFilter

    The terms filter.

    Type Parameters
    TObject

    The object type.

    FromExpression<TObject>(Expression<Func<TObject, object>>, string, Analyzer)

    Creates a new TermFilter whose property name is retrieved from an expression.

    Declaration
    public static TermFilter FromExpression<TObject>(Expression<Func<TObject, object>> property, string term, Analyzer analyzer = Analyzer.None)
    Parameters
    Expression<Func<TObject, object>> property

    The property expression.

    string term

    The search term.

    Analyzer analyzer

    Specify if you want to query the analyzed field version

    Returns
    TermFilter

    The term filter.

    Type Parameters
    TObject

    The object type.

    FromExpression<TObject>(Expression<Func<TObject, object>>, params string[])

    Creates a new TermsFilter whose property name is retrieved from an expression.

    Declaration
    public static TermsFilter FromExpression<TObject>(Expression<Func<TObject, object>> property, params string[] terms)
    Parameters
    Expression<Func<TObject, object>> property

    The property expression.

    string[] terms

    The search terms.

    Returns
    TermsFilter

    The terms filter.

    Type Parameters
    TObject

    The object type.

    FromJson(string)

    Declaration
    public static FilterBase FromJson(string data)
    Parameters
    string data

    Returns
    FilterBase

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX