Show / Hide Table of Contents

Class RuleExecutionContextFactory

A factory service to get instances of IRuleExecutionContext.

Inheritance
System.Object
RuleExecutionContextFactory
Implements
IGetsRuleExecutionContext
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 RuleExecutionContextFactory : 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
public 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.

Implements

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