Interface IGetsValidationManifestFromModel
An object which can get a ValidationManifest from a simplified (serialization-friendly) model.
Namespace: CSF.Validation.ManifestModel
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IGetsValidationManifestFromModel
Methods
| Improve this Doc View SourceGetValidationManifest(Value, Type)
Gets a validation manifest for validating a specified type, from the specified simple validation model.
Declaration
ValidationManifest GetValidationManifest(Value rootValue, Type validatedType)
Parameters
Type | Name | Description |
---|---|---|
Value | rootValue | The Value that represents the primary object to be validated. |
System.Type | validatedType | The type of the primary object to be validated. |
Returns
Type | Description |
---|---|
ValidationManifest | A validation manifest. |