Interface IParameterValidator

Defines an abstract parameter validator.

Inherited Members
ICustomValidator.SupportsNull
Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public interface IParameterValidator : ICustomValidator

Properties

ParameterValidationErrorMessage

The message that is thrown when the validation failed.

Declaration
string ParameterValidationErrorMessage { get; set; }
Property Value
Type Description
String

Methods

Validate(ParameterInfo, Object, IInjector)

Defines the layout of the validator method.

Declaration
void Validate(ParameterInfo param, object value, IInjector currentScope)
Parameters
Type Name Description
ParameterInfo param
Object value
Solti.Utils.DI.Interfaces.IInjector currentScope
In This Article
Back to top Generated by DocFX