SlugValidator Class

GeonBit.UI

SlugValidator Class
Make sure input contains only letters, numbers, underscores or hyphens (and optionally spaces).
Inheritance Hierarchy
SystemObject  GeonBit.UI.Entities.TextValidatorsSlugValidator

Namespace:  GeonBit.UI.Entities.TextValidators
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class SlugValidator : ITextValidator

The SlugValidator type exposes the following members.

Constructors
  NameDescription
Public methodSlugValidator
Create the slug validator.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateText
Return true if text input is slug.
Top
See Also