Interface IConditionalValidatior

Determines whether a validator should run or not.

Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public interface IConditionalValidatior
Remarks

Implementations should not contain complex logics, so this interface has no asynchronous counterpart.

Methods

ShouldRun(MethodInfo, IInjector)

Returns true if the validator should run.

Declaration
bool ShouldRun(MethodInfo containingMethod, IInjector currentScope)
Parameters
Type Name Description
MethodInfo containingMethod
Solti.Utils.DI.Interfaces.IInjector currentScope
Returns
Type Description
Boolean
In This Article
Back to top Generated by DocFX