Class SingleRuleExecutorFactory
A factory service for implementations of IExeucutes
Inheritance
System.Object
SingleRuleExecutorFactory
Implements
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 SourceSingleRuleExecutorFactory(IServiceProvider)
Initialises a new instance of Single
Declaration
public SingleRuleExecutorFactory(IServiceProvider services)
Parameters
Type | Name | Description |
---|---|---|
System. |
services | A service provider |
Exceptions
Type | Condition |
---|---|
System. |
If |
Methods
| Improve this Doc View SourceGetRuleExecutor(ResolvedValidationOptions)
Gets the service which may be used for executing validation rules.
Declaration
public IExeucutesSingleRule GetRuleExecutor(ResolvedValidationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Resolved |
options | The validation options. |
Returns
Type | Description |
---|---|
IExeucutes |
A single-rule execution service instance. |