Show / Hide Table of Contents

Class ExecutableRule

A model for a rule which may be executed upon a validated value.

Inheritance
System.Object
ExecutableRule
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)
Namespace: CSF.Validation.RuleExecution
Assembly: CSF.Validation.Abstractions.dll
Syntax
public class ExecutableRule

Properties

| Improve this Doc View Source

IsEligibleToBeExecutedInParallel

Gets a value that indicates whether or not this rule may be executed in parallel.

Declaration
public bool IsEligibleToBeExecutedInParallel { get; }
Property Value
Type Description
System.Boolean
Remarks

This corresponds to whether or not the class that provides the rule logic is decorated with ParallelizableAttribute. In order to actually run validation with parallelisation, EnableRuleParallelization must also be set to true.

| Improve this Doc View Source

ManifestRule

Gets the manifest rule which the current instance corresponds to.

Declaration
public ManifestRule ManifestRule { get; set; }
Property Value
Type Description
ManifestRule
| Improve this Doc View Source

Result

Gets or sets the rule's result.

Declaration
public RuleResult Result { get; set; }
Property Value
Type Description
RuleResult
| Improve this Doc View Source

RuleIdentifier

Gets or sets the identifier for this particular rule.

Declaration
public RuleIdentifier RuleIdentifier { get; set; }
Property Value
Type Description
RuleIdentifier
| Improve this Doc View Source

RuleLogic

Gets the executable rule logic.

Declaration
public IValidationLogic RuleLogic { get; set; }
Property Value
Type Description
IValidationLogic
| Improve this Doc View Source

ValidatedValue

Gets the value to be validated by the current rule.

Declaration
public ValidatedValue ValidatedValue { get; set; }
Property Value
Type Description
ValidatedValue

Methods

| Improve this Doc View Source

ToString()

Gets a string which represents the current executable rule.

Declaration
public override string ToString()
Returns
Type Description
System.String

A human-readable string.

Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • IsEligibleToBeExecutedInParallel
    • ManifestRule
    • Result
    • RuleIdentifier
    • RuleLogic
    • ValidatedValue
  • Methods
    • ToString()
Back to top Generated by DocFX