Skip to main content

MaximumLengthValidator

Assembly: ServiceStack.dll
View Source
Declaration
public class MaximumLengthValidator : LengthValidator, ILengthValidator, IPropertyValidator

Inherited Properties

Max

View Source
Declaration
public int Max { get; }

MaxFunc

View Source
Declaration
public Func<object, int> MaxFunc { get; set; }

Min

View Source
Declaration
public int Min { get; }

MinFunc

View Source
Declaration
public Func<object, int> MinFunc { get; set; }

Methods

GetDefaultMessageTemplate()

View Source
Declaration
protected override string GetDefaultMessageTemplate()
Returns

System.String

Inherited Methods

GetDefaultMessageTemplate()

View Source
Declaration
protected override string GetDefaultMessageTemplate()
Returns

System.String

IsValid(PropertyValidatorContext)

View Source
Declaration
protected override bool IsValid(PropertyValidatorContext context)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.FluentValidation.Validators.PropertyValidatorContextcontext

Implements