Class MinimumLengthDefinition
- Namespace
- Dynamicweb.CoreUI.Data.Validation
- Assembly
- Dynamicweb.CoreUI.dll
public sealed class MinimumLengthDefinition : ValidationDefinition
- Inheritance
-
MinimumLengthDefinition
- Inherited Members
-
Constructors
MinimumLengthDefinition(int)
public MinimumLengthDefinition(int length)
Parameters
length
int
MinimumLengthDefinition(int, string?)
public MinimumLengthDefinition(int length, string? errorMessage)
Parameters
length
int
errorMessage
string
Properties
Length
public int Length { get; }
Property Value
- int
Methods
Render(EditorBase)
public override void Render(EditorBase editor)
Parameters
editor
EditorBase
Validate(object?)
public override bool Validate(object? value)
Parameters
value
object
Returns
- bool