Table of Contents

Class EqualToValidator

Namespace
Acuit.Pinpoint.Workflows.Testing.Validation
Assembly
Acuit.Pinpoint.Workflows.Testing.dll

A data value validator that validates that the data value is equal to a specified value.

public class EqualToValidator : ComparisonValidator, IDataValueValidator
Inheritance
EqualToValidator
Implements
Inherited Members

Examples

<MonitorData DataSource="{Reading SafetyFault}" FailReason="Safety fault">
  <MonitorData.Validator>
    <EqualToValidator Value="0" />
  </MonitorData.Validator>
</MonitorData>

Remarks

See ValidationComparer for details about how values are compared.

Constructors

EqualToValidator()

Initializes a new instance of the EqualToValidator class.

public EqualToValidator()