Class EnumFilter<T>
Represents an enum filter
Inheritance
EnumFilter<T>
Implements
IEnumFilter<T>
Namespace: TSD.API.Remoting.Filtering
Assembly: TSD.API.Remoting.dll
Syntax
public abstract class EnumFilter<T> : IEnumFilter<T> where T : struct, Enum
Type Parameters
| Name | Description |
|---|---|
| T |
Fields
| Name | Description |
|---|---|
| _values | The included (resp. excluded) values |
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) |