Class RuleContextFactory
A factory service that creates instances of RuleContext from executable rules.
Inheritance
System.Object
RuleContextFactory
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.Rules
Assembly: CSF.Validation.dll
Syntax
public class RuleContextFactory : IGetsRuleContext
Methods
| Improve this Doc View SourceGetRuleContext(ExecutableRule)
Gets a rule context for the specified executable rule.
Declaration
public RuleContext GetRuleContext(ExecutableRule rule)
Parameters
Type | Name | Description |
---|---|---|
ExecutableRule | rule | The executable rule. |
Returns
Type | Description |
---|---|
RuleContext | A rule context. |