Interface IRulesUnderTest
Represents the rules under test.
public interface IRulesUnderTest
Properties
Rules
Gets the rules under test.
IReadOnlyCollection<RuleInfo> Rules { get; }
Property Value
Methods
GetRuleInfo(string)
Gets the rule information for the specified rule name.
RuleInfo GetRuleInfo(string ruleName)
Parameters
ruleName
stringName of the rule to look for.
Returns
- RuleInfo
Found rule.
GetRuleInfo(Type)
Gets the rule information for the specified rule type.
RuleInfo GetRuleInfo(Type ruleType)
Parameters
ruleType
TypeType of the rule to look for.
Returns
- RuleInfo
Found rule.
GetSingle()
Gets the rule information for the single rule under test.
RuleInfo GetSingle()
Returns
- RuleInfo
Found rule.