Interface IGetsAllExecutableRules
An object which can get all of the executable rules from a manifest value and object to be validated.
Namespace: CSF.Validation.RuleExecution
Assembly: CSF.Validation.dll
Syntax
public interface IGetsAllExecutableRules
Remarks
This includes the traversal of any descendent values from the object to be validated, as dictated by the descendents of the specified ManifestItem.
Methods
| Improve this Doc View SourceGetExecutableRules(ManifestItem, Object, ResolvedValidationOptions)
Gets a flattened collection of executable validation rules from a manifest value and object to be validated.
Declaration
IReadOnlyList<ExecutableRule> GetExecutableRules(ManifestItem manifestValue, object objectToBeValidated, ResolvedValidationOptions options)
Parameters
Type | Name | Description |
---|---|---|
ManifestItem | manifestValue | The manifest value. |
System.Object | objectToBeValidated | The object to be validated. |
ResolvedValidationOptions | options | The validation options. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<ExecutableRule> | A flattened collection of executable rules from the manifest value and the value's descendents. |