Skip to main content

FieldValueResult Class

Definition

  • Namespace: UiPath.DocumentProcessing.Contracts.BusinessRules
  • Assembly: UiPath.DocumentProcessing.Contracts

Description

Represents the result of applying a rule set over a field's value.

Members

Properties

  • Value: Gets or sets the FieldValue class.
  • IsValid: Gets or sets a boolean value, indicating whether the FieldValue class is valid.
  • Rules: Gets or sets a list of RuleResult objects that were applied over the FieldValue.

Constructors

  • FieldValueResult(): Initializes a new instance of the FieldValueResult class without setting any initial value.
  • FieldValueResult(FieldValue, bool, List<RuleResult>): Initializes a new instance of the FieldValueResult class, and requiring the following parameters:
    • value FieldValue: The value of the field.
    • isValid bool: Indicate whether the field value is valid.
    • rules List<RuleResult>: The rules applied to the field value.