| SlugValidator Class |
Namespace: GeonBit.UI.Entities.TextValidators
[SerializableAttribute] public class SlugValidator : ITextValidator
The SlugValidator type exposes the following members.
| Name | Description | |
|---|---|---|
| SlugValidator |
Create the validator with default params.
| |
| SlugValidator(Boolean) |
Create the slug validator.
|
| Name | Description | |
|---|---|---|
| AllowSpaces |
Set / get if we allow spaces in text.
|
| 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.
(Overrides ITextValidatorValidateText(String, String).) |