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
Type | Name |
---|---|
System.Object | dto |
ServiceStack.Web.IRequest | request |
ThrowIfNotValidAsync(Object, IRequest)
View Source
Declaration
Task ThrowIfNotValidAsync(object dto, IRequest request)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Object | dto |
ServiceStack.Web.IRequest | request |