Interface IValidator
Implement this interface to act as a validator.
Namespace: Elements.Validators
Assembly: Hypar.Elements.dll
Syntax
[Obsolete]
public interface IValidator
Properties
ValidatesType
The type to be validated.
Declaration
Type ValidatesType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
PostConstruct(Object)
Post construction logic.
Declaration
void PostConstruct(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The constructed object. |
PreConstruct(Object[])
Validate the object with the provided arguments.
Declaration
void PreConstruct(object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | args |