FunqValidatorFactory
Assembly: ServiceStack.Mvc.dll
View Source
Declaration
public class FunqValidatorFactory : ValidatorFactoryBase, IValidatorFactory
Methods
CreateInstance(Type)
View Source
Declaration
public override IValidator CreateInstance(Type validatorType)
Returns
ServiceStack.FluentValidation.IValidator
Parameters
Type | Name |
---|---|
Type | validatorType |
Inherited Methods
CreateInstance(Type)
Instantiates the validator
View Source
Declaration
public abstract IValidator CreateInstance(Type validatorType)
Returns
ServiceStack.FluentValidation.IValidator
Parameters
Type | Name |
---|---|
System.Type | validatorType |
GetValidator(Type)
Gets a validator for a type
View Source
Declaration
public IValidator GetValidator(Type type)
Returns
ServiceStack.FluentValidation.IValidator
Parameters
Type | Name |
---|---|
System.Type | type |
GetValidator<T>()
Gets a validator for a type
View Source
Declaration
public IValidator<T> GetValidator<T>()
Returns
ServiceStack.FluentValidation.IValidator<T>
Type Parameters
T