Skip to main content

ITypeValidator

Assembly: ServiceStack.dll
View Source
Declaration
public interface ITypeValidator

Properties

ErrorCode

View Source
Declaration
string ErrorCode { get; set; }

Message

View Source
Declaration
string Message { get; set; }

StatusCode

View Source
Declaration
int? StatusCode { get; set; }

Methods

IsValidAsync(Object, IRequest)

View Source
Declaration
Task<bool> IsValidAsync(object dto, IRequest request)
Returns

System.Threading.Tasks.Task<System.Boolean>

Parameters
TypeName
System.Objectdto
ServiceStack.Web.IRequestrequest

ThrowIfNotValidAsync(Object, IRequest)

View Source
Declaration
Task ThrowIfNotValidAsync(object dto, IRequest request)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Objectdto
ServiceStack.Web.IRequestrequest