Class SearchFilter | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SearchFilter

    Inheritance
    System.Object
    SearchFilter
    Namespace: Unity.QuickSearch
    Syntax
    public class SearchFilter

    Constructors

    SearchFilter()

    Declaration
    public SearchFilter()

    Fields

    filteredProviders

    Declaration
    public List<SearchProvider> filteredProviders
    Field Value
    Type Description
    System.Collections.Generic.List<SearchProvider>

    providerFilters

    Declaration
    public List<SearchFilter.ProviderDesc> providerFilters
    Field Value
    Type Description
    System.Collections.Generic.List<SearchFilter.ProviderDesc>

    Properties

    Providers

    Declaration
    public List<SearchProvider> Providers { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<SearchProvider>

    Methods

    GetSubCategories(SearchProvider)

    Declaration
    public List<SearchFilter.Entry> GetSubCategories(SearchProvider provider)
    Parameters
    Type Name Description
    SearchProvider provider
    Returns
    Type Description
    System.Collections.Generic.List<SearchFilter.Entry>

    IsEnabled(String, String)

    Declaration
    public bool IsEnabled(string providerId, string subCategory = null)
    Parameters
    Type Name Description
    System.String providerId
    System.String subCategory
    Returns
    Type Description
    System.Boolean

    ResetFilter(Boolean)

    Declaration
    public void ResetFilter(bool enableAll)
    Parameters
    Type Name Description
    System.Boolean enableAll

    SetExpanded(Boolean, String)

    Declaration
    public void SetExpanded(bool isExpanded, string providerId)
    Parameters
    Type Name Description
    System.Boolean isExpanded
    System.String providerId

    SetFilter(Boolean, String, String)

    Declaration
    public void SetFilter(bool isEnabled, string providerId, string subCategory = null)
    Parameters
    Type Name Description
    System.Boolean isEnabled
    System.String providerId
    System.String subCategory
    Back to top
    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