Show / Hide Table of Contents

Class RuleContextFactory

A factory service that creates instances of RuleContext from executable rules.

Inheritance
System.Object
RuleContextFactory
Implements
IGetsRuleContext
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 Source

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

Implements

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