Validates names produced by a name generator against a set of configurable constraints.
Implements: INameFilter
NameFilter()
Instantiates a new NameFilter with no constraints.
Add(System.String[] patterns)
NameFilter
Adds new patterns to this filter.
Add(FilterConstraint constraint)
Adds a new constraint to this filter.
IsValid(Name name)
System.Boolean
Returns true if the specified name does not match any of this filter's contraints, else returns false.
IsValid(System.String name)
Constraints
System.Collections.Generic.List <FilterConstraint>
The list of constraints that names must pass to be considered valid.
Last updated 10 months ago