Show / Hide Table of Contents

Interface IGetsRuleExecutionContext

An object which can get an instance of IRuleExecutionContext for a specified collection of rules.

Namespace: CSF.Validation.RuleExecution
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IGetsRuleExecutionContext

Methods

| Improve this Doc View Source

GetExecutionContext(IEnumerable<ExecutableRuleAndDependencies>, ResolvedValidationOptions)

Gets the rule execution context instance for the specified collection of rules and validation options.

Declaration
IRuleExecutionContext GetExecutionContext(IEnumerable<ExecutableRuleAndDependencies> allRules, ResolvedValidationOptions options)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ExecutableRuleAndDependencies> allRules

The complete collection of rules.

ResolvedValidationOptions options

The validation of options.

Returns
Type Description
IRuleExecutionContext

An execution context.

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