Show / Hide Table of Contents

Class ExecutableRuleAndDependencies

A model for an ExecutableRule along with all of its dependencies.

Inheritance
System.Object
ExecutableRuleAndDependencies
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.Abstractions.dll
Syntax
public class ExecutableRuleAndDependencies

Constructors

| Improve this Doc View Source

ExecutableRuleAndDependencies(ExecutableRule, IEnumerable<ExecutableRule>, IEnumerable<ExecutableRule>)

Initialises an instance of ExecutableRuleAndDependencies.

Declaration
public ExecutableRuleAndDependencies(ExecutableRule executableRule, IEnumerable<ExecutableRule> dependencies = null, IEnumerable<ExecutableRule> dependedUponBy = null)
Parameters
Type Name Description
ExecutableRule executableRule

The rule.

System.Collections.Generic.IEnumerable<ExecutableRule> dependencies

The rule's dependencies.

System.Collections.Generic.IEnumerable<ExecutableRule> dependedUponBy

A collection of rules which depend upon executableRule.

Exceptions
Type Condition
System.ArgumentNullException

If executableRule is null.

Properties

| Improve this Doc View Source

DependedUponBy

Gets a collection of the rules which depend upon this rule.

Declaration
public IReadOnlyCollection<ExecutableRule> DependedUponBy { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyCollection<ExecutableRule>
| Improve this Doc View Source

Dependencies

Gets a collection of the rule's dependencies.

Declaration
public IReadOnlyCollection<ExecutableRule> Dependencies { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyCollection<ExecutableRule>
| Improve this Doc View Source

ExecutableRule

Gets the executable rule.

Declaration
public ExecutableRule ExecutableRule { get; }
Property Value
Type Description
ExecutableRule
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX