SlugValidator Class
From GeonBit.UI
GeonBit.UI Documentation
| SlugValidator Class |
Make sure input contains only letters, numbers, underscores or hyphens (and optionally spaces).
Namespace: GeonBit.UI.Entities.TextValidators
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public class SlugValidator : ITextValidator
The SlugValidator type exposes the following members.
| Name | Description | |
|---|---|---|
| SlugValidator |
Create the slug validator.
|
| 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.
|