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 SourceGetExecutionContext(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. |