Interface IAsyncParameterValidator
Defines an abstract, asynchronous parameter validator.
Inherited Members
Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public interface IAsyncParameterValidator : IParameterValidator, ICustomValidator
Methods
ValidateAsync(ParameterInfo, Object, IInjector)
Defines the asynchronous layout of the validator method.
Declaration
Task ValidateAsync(ParameterInfo param, object value, IInjector currentScope)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterInfo | param | |
| Object | value | |
| Solti.Utils.DI.Interfaces.IInjector | currentScope |
Returns
| Type | Description |
|---|---|
| Task |