Class SearchFilter
Inheritance
System.Object
SearchFilter
Syntax
public class SearchFilter
Constructors
SearchFilter()
Declaration
Fields
filteredProviders
Declaration
public List<SearchProvider> filteredProviders
Field Value
providerFilters
Declaration
public List<SearchFilter.ProviderDesc> providerFilters
Field Value
Properties
Providers
Declaration
public List<SearchProvider> Providers { get; set; }
Property Value
Methods
GetSubCategories(SearchProvider)
Declaration
public List<SearchFilter.Entry> GetSubCategories(SearchProvider provider)
Parameters
Returns
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 |
|