GeonBit.UI Documentation
SlugValidator Class |
Make sure input contains only letters, numbers, underscores or hyphens (and optionally spaces).
Inheritance Hierarchy
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
Name | Description | |
---|---|---|
SlugValidator |
Create the slug validator.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValidateText |
Return true if text input is slug.
|
See Also