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