Search Results for

    Show / Hide Table of Contents

    Class FilterBase

    The filters' base class

    Inheritance
    System.Object
    FilterBase
    AggregationFilter
    AndFilter
    ChildFilter
    DateRangeFilter
    ExistsFilter
    GeoBoundingBoxFilter
    GeoDistanceFilter
    NestedFilter
    NotFilter
    NumericRangeFilter
    OrFilter
    ParentFilter
    PrefixFilter
    TermFilter
    TermsFilter
    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.Dynamic.ExpandoObject
    Syntax
    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.

    System.String language

    Specify the language to query inside the TranslatedStringDictionary

    IEnumerable<System.String> terms

    The search terms.

    Returns
    TermsFilter

    The terms filter.

    Type Parameters
    TObject

    The object type.

    FromExpression<TObject>(Expression<Func<TObject, TranslatedStringDictionary>>, String, String, Boolean)

    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.

    System.String term

    The search term.

    System.String language

    Specify the language to query inside the TranslatedStringDictionary

    System.Boolean 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, 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, System.Object>> property

    The property expression.

    Analyzer analyzer

    Specify if you want to query the analyzed field version

    System.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, System.Object>> property

    The property expression.

    System.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>>, 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, System.Object>> property

    The property expression.

    System.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
    System.String data

    Returns
    FilterBase

    ToJson()

    Declaration
    public string ToJson()
    Returns
    System.String

    Back to top Generated by DocFX