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 SourceExecutableRuleAndDependencies(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 |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |
Properties
| Improve this Doc View SourceDependedUponBy
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> |
Dependencies
Gets a collection of the rule's dependencies.
Declaration
public IReadOnlyCollection<ExecutableRule> Dependencies { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<ExecutableRule> |
ExecutableRule
Gets the executable rule.
Declaration
public ExecutableRule ExecutableRule { get; }
Property Value
Type | Description |
---|---|
ExecutableRule |