Interface IPropertyValidator

Defines an abstract property validator.

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

Properties

PropertyValidationErrorMessage

The message that is thrown when the validation failed.

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

Methods

Validate(PropertyInfo, Object, IInjector)

Defines the layout of the validator method.

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