Interface IEnumFilter<T>
Represents an enum filter
Namespace: TSD.API.Remoting.Filtering
Assembly: TSD.API.Remoting.dll
Syntax
public interface IEnumFilter<T> where T : struct, Enum
Type Parameters
| Name | Description |
|---|---|
| T | The type of the enum |
Properties
| Name | Description |
|---|---|
| ValidValues | Gets the collection of the currently valid values |
Methods
| Name | Description |
|---|---|
| SetAsInvalid(T) | Sets the given value as invalid (i.e. to be filtered out) |
| SetAsValid(T) | Sets the given value as valid (i.e. not to be filtered out) |