Show / Hide Table of Contents

Interface IConvertsModelRulesToManifestRules

An object which may be used to convert the rules within a Value into manifest rules and to add those rules to a corresponding ManifestItem

Namespace: CSF.Validation.ManifestModel
Assembly: CSF.Validation.dll
Syntax
public interface IConvertsModelRulesToManifestRules

Methods

| Improve this Doc View Source

ConvertAllRulesAndAddToManifestValues(IEnumerable<ModelAndManifestValuePair>)

Converts all of the rules present in each of the Value models into ManifestRule instances and then adds those rules to the corresponding ManifestItem instance in the model/manifest value pair.

Declaration
void ConvertAllRulesAndAddToManifestValues(IEnumerable<ModelAndManifestValuePair> values)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ModelAndManifestValuePair> values

A collection of ModelAndManifestValuePair.

Remarks

The input parameter is a collection of objects, each of which contains both a ManifestItem and also the model Value from which that manifest value was created. This method gets the rules from within that model value, converts them and then adds those the the corresponding manifest value. This process occurs for each item in the input collection.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX