Show / Hide Table of Contents

Class ExecutableRulesFromValidatedValueProvider

A service that gets a flattened collection of executable rules from a manifest value and the object to be validated.

Inheritance
System.Object
ExecutableRulesFromValidatedValueProvider
Implements
IGetsAllExecutableRules
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.Validation.RuleExecution
Assembly: CSF.Validation.dll
Syntax
public class ExecutableRulesFromValidatedValueProvider : IGetsAllExecutableRules

Constructors

| Improve this Doc View Source

ExecutableRulesFromValidatedValueProvider(IGetsValidatedValue)

Initialises a new instance of ExecutableRulesFromValidatedValueProvider.

Declaration
public ExecutableRulesFromValidatedValueProvider(IGetsValidatedValue validatedValueProvider)
Parameters
Type Name Description
IGetsValidatedValue validatedValueProvider

The provider for a validated value.

Exceptions
Type Condition
System.ArgumentNullException

If validatedValueProvider is null.

Methods

| Improve this Doc View Source

GetExecutableRules(ManifestItem, Object, ResolvedValidationOptions)

Gets a flattened collection of executable validation rules from a manifest value and object to be validated.

Declaration
public 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.

Implements

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