Skip to main content

IValidatorFactory

Gets validators for a particular type.

Assembly: ServiceStack.dll
View Source
Declaration
public interface IValidatorFactory

Methods

GetValidator<T>()

Gets the validator for the specified type.

View Source
Declaration
IValidator<T> GetValidator<T>()
Returns

ServiceStack.FluentValidation.IValidator<T>

Type Parameters
  • T

GetValidator(Type)

Gets the validator for the specified type.

View Source
Declaration
IValidator GetValidator(Type type)
Returns

ServiceStack.FluentValidation.IValidator

Parameters
TypeName
System.Typetype