Show / Hide Table of Contents

Class ExecutableRulesAndDependenciesProvider

Service which gets a collection of executable rules matched with the dependencies for those rules.

Inheritance
System.Object
ExecutableRulesAndDependenciesProvider
Implements
IGetsAllExecutableRulesWithDependencies
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 ExecutableRulesAndDependenciesProvider : IGetsAllExecutableRulesWithDependencies

Constructors

| Improve this Doc View Source

ExecutableRulesAndDependenciesProvider(IGetsAllExecutableRules)

Initialises a new instance of ExecutableRulesAndDependenciesProvider

Declaration
public ExecutableRulesAndDependenciesProvider(IGetsAllExecutableRules executableRulesProvider)
Parameters
Type Name Description
IGetsAllExecutableRules executableRulesProvider

The executable rules provider.

Exceptions
Type Condition
System.ArgumentNullException

If executableRulesProvider is null.

Methods

| Improve this Doc View Source

GetRulesWithDependencies(ManifestItem, Object, ResolvedValidationOptions)

Gets a collection of the executable rules and their dependencies from the specified manifest value and an object to be validated.

Declaration
public IReadOnlyList<ExecutableRuleAndDependencies> GetRulesWithDependencies(ManifestItem manifestValue, object objectToBeValidated, ResolvedValidationOptions validationOptions)
Parameters
Type Name Description
ManifestItem manifestValue

The manifest value.

System.Object objectToBeValidated

The object to be validated.

ResolvedValidationOptions validationOptions

The validation options.

Returns
Type Description
System.Collections.Generic.IReadOnlyList<ExecutableRuleAndDependencies>

A collection of all of the executable rules and the dependencies for each rule.

Implements

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