Suoranta.EnterpriseLib.Web - Developer API

StringSetFilter Class

When inheriting this class, define each valid string (values that can exist in database) as public constant of that class, e.g.,

Namespace:  Suoranta.EnterpriseLib.Linq.Filters
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


public class StringSetFilter : HashSet<string>, 
	IFilter<StringSetFilterOptions>

Remarks


Default implementation of GetAllValues()()()() populates the list of all values from from const fields defined in the derived class, e.g.
C#
public class InsectSpeciesFilter
{
    public const string Bee = "species_bee";
    ...
Override GetAllValues()()()() if AllValues should received values from another source.

Inheritance Hierarchy


Object
  HashSet<(Of <(<'String>)>)>
    Suoranta.EnterpriseLib.Linq.Filters..::..StringSetFilter