Class ValidationInterceptor
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Validation
Assembly: Volo.Abp.Validation.dll
Syntax
public class ValidationInterceptor : AbpInterceptor, IAbpInterceptor, ITransientDependency
Constructors
ValidationInterceptor(IMethodInvocationValidator)
Declaration
public ValidationInterceptor(IMethodInvocationValidator methodInvocationValidator)
Parameters
Type | Name | Description |
---|---|---|
IMethodInvocationValidator | methodInvocationValidator |
Methods
InterceptAsync(IAbpMethodInvocation)
Declaration
public override Task InterceptAsync(IAbpMethodInvocation invocation)
Parameters
Type | Name | Description |
---|---|---|
IAbpMethodInvocation | invocation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
ValidateAsync(IAbpMethodInvocation)
Declaration
protected virtual Task ValidateAsync(IAbpMethodInvocation invocation)
Parameters
Type | Name | Description |
---|---|---|
IAbpMethodInvocation | invocation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |