Skip to main content

ValidatorFactoryBase

Factory for creating validators

Assembly: ServiceStack.dll
View Source
Declaration
public abstract class ValidatorFactoryBase : IValidatorFactory

Methods

GetValidator<T>()

Gets a validator for a type

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

ServiceStack.FluentValidation.IValidator<T>

Type Parameters
  • T

GetValidator(Type)

Gets a validator for a type

View Source
Declaration
public IValidator GetValidator(Type type)
Returns

ServiceStack.FluentValidation.IValidator

Parameters
TypeName
System.Typetype

CreateInstance(Type)

Instantiates the validator

View Source
Declaration
public abstract IValidator CreateInstance(Type validatorType)
Returns

ServiceStack.FluentValidation.IValidator

Parameters
TypeName
System.TypevalidatorType

Implements