docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISearchQuery<TData>

    Interface used to apply a search query to a given set of data.

    Namespace: Unity.Properties.UI
    Syntax
    public interface ISearchQuery<TData>
    Type Parameters
    Name Description
    TData

    The search data type.

    Properties

    SearchString

    Gets the original search string for the query.

    Declaration
    string SearchString { get; }
    Property Value
    Type Description
    String

    Tokens

    List of tokens found in the query.

    Declaration
    ICollection<string> Tokens { get; }
    Property Value
    Type Description
    ICollection<String>

    Methods

    Apply(IEnumerable<TData>)

    Applies the search filters to the specified data set.

    Declaration
    IEnumerable<TData> Apply(IEnumerable<TData> data)
    Parameters
    Type Name Description
    IEnumerable<TData> data

    The data set to filter.

    Returns
    Type Description
    IEnumerable<TData>

    An which returns the filtered data set.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023