Class SearchFilter
Syntax
public class SearchFilter
Constructors
SearchFilter()
Declaration
Properties
allActive
Declaration
public bool allActive { get; }
Property Value
Providers
Declaration
public List<SearchProvider> Providers { get; set; }
Property Value
Methods
GetProviderNameWithFilter(SearchProvider)
Declaration
public static string GetProviderNameWithFilter(SearchProvider provider)
Parameters
Returns
GetSubCategories(SearchProvider)
Declaration
public List<NameEntry> GetSubCategories(SearchProvider provider)
Parameters
Returns
IsEnabled(String, String)
Declaration
public bool IsEnabled(string providerId, string subCategory = null)
Parameters
Returns
ResetFilter(Boolean, Boolean)
Declaration
public void ResetFilter(bool enableAll, bool preserveSubFilters = false)
Parameters
SetExpanded(Boolean, String)
Declaration
public void SetExpanded(bool isExpanded, string providerId)
Parameters
SetFilter(Boolean, String, String, Boolean)
Declaration
public void SetFilter(bool isEnabled, string providerId, string subCategory = null, bool preserveSubFilters = false)
Parameters