docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Properties.UI.Editor.dll
    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 IEnumerable<T> 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 IEnumerable<T> which returns the filtered data set.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)