Click or drag to resize
StringListValidator Class
A validator for string values that has a specific list of allowed values.
Inheritance Hierarchy

Namespace: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: (
public class StringListValidator : IParameterValidator

The StringListValidator type exposes the following members.

Public propertyIgnoreCase
If IgnoreCase is false (the default), a string will only be considered valid if it matches one of the stored values exactly, including case. Otherwise, any case (including mixed) is accepted.
Public propertyValidValues
The list of allowed values.
Public methodAddValidValues
Add one or more strings to the list of valid values.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValid(Object)
Given a string value as an object, return true if the value is in the list.
Public methodIsValid(String)
Given a string value, return true if the value is in the list.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also