Show / Hide Table of Contents

Class SingleRuleExecutorFactory

A factory service for implementations of IExeucutesSingleRule.

Inheritance
System.Object
SingleRuleExecutorFactory
Implements
IGetsSingleRuleExecutor
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 SingleRuleExecutorFactory : IGetsSingleRuleExecutor

Constructors

| Improve this Doc View Source

SingleRuleExecutorFactory(IServiceProvider)

Initialises a new instance of SingleRuleExecutorFactory.

Declaration
public SingleRuleExecutorFactory(IServiceProvider services)
Parameters
Type Name Description
System.IServiceProvider services

A service provider

Exceptions
Type Condition
System.ArgumentNullException

If services is null.

Methods

| Improve this Doc View Source

GetRuleExecutor(ResolvedValidationOptions)

Gets the service which may be used for executing validation rules.

Declaration
public IExeucutesSingleRule GetRuleExecutor(ResolvedValidationOptions options)
Parameters
Type Name Description
ResolvedValidationOptions options

The validation options.

Returns
Type Description
IExeucutesSingleRule

A single-rule execution service instance.

Implements

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