FilterOperatorUtilityGetFilterOperators Method

Provides a number of filters for a grid column for the user to filter their records on.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static IReadOnlyCollection<FilterOperatorInfo> GetFilterOperators(
	Type type,
	IStringLocalizer loc
)

Parameters

type  Type
Type to retrieve filters for.
loc  IStringLocalizer
Localization tool

Return Value

IReadOnlyCollectionFilterOperatorInfo
List of filters.

Exceptions

NotSupportedExceptionIf type is not supported in this method.

See Also