Library/PackageCache/com.unity.quicksearch@1.6.0-preview.8/Editor/SearchContext.cs
/// <summary>
/// Checks if a provider is available to process a query.
/// </summary>
/// <param name="providerId">If of the provider. See SearchProvider.<see cref="SearchProvider.name"/>.id.</param>
/// <returns></returns>
Checks if a provider is available to process a query.
Checks if a provider is available to process a query .
public bool IsEnabled(string providerId)
        {
            var index = m_ProviderDescs.FindIndex(t => t.provider.name.id == providerId);
            if (index != -1)
            {
                return m_ProviderDescs[index].isEnabled;
            }
            return false;
        }
public bool IsEnabled ( string providerId ) { var index = m_ProviderDescs . FindIndex ( t => t . provider . name . id == providerId ) ; if ( index != - 1 ) { return m_ProviderDescs [ index ] . isEnabled ; } return false ; }
Checks if a provider is available to process a query.
Checks if a provider is available to process a query .
None
providerId
string
If of the provider. See SearchProvider..id.
If of the provider . See SearchProvider .. id .