Interface IConvertsModelValuesToManifestValues
An object which can convert a ModelToManifestConversionContext (containing a Value) into a hierarchy of ManifestItem, contained within a ModelToManifestValueConversionResult.
Namespace: CSF.Validation.ManifestModel
Assembly: CSF.Validation.dll
Syntax
public interface IConvertsModelValuesToManifestValues
Methods
| Improve this Doc View SourceConvertAllValues(ModelToManifestConversionContext)
Converts all of the hierarchy of Value instances within the specified context into an equivalent hierarchy of ManifestItem, which are returned as a result object.
Declaration
ModelToManifestValueConversionResult ConvertAllValues(ModelToManifestConversionContext context)
Parameters
Type | Name | Description |
---|---|---|
ModelToManifestConversionContext | context | A conversion context. |
Returns
Type | Description |
---|---|
ModelToManifestValueConversionResult | A result object containing the converted manifest values. |
Exceptions
Type | Condition |
---|---|
ValidatorBuildingException | If the input value(s) are not valid for creating a validation manifest. |
System.ArgumentNullException | If the |