Table of Contents

Class IsFalseValidator

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

A validator that validates that a data value is considered false.

public class IsFalseValidator : IDataValueValidator
Inheritance
IsFalseValidator
Implements
Inherited Members

Remarks

This will work with any data value. See the remarks for IsTrueValidator for the logic used to determine whether a data value is considered true or false.

Methods

InitializeAsync(ActivityContext, IDataValueDescriptor, CancellationToken)

Initializes the validator.

public Task<IInitializedDataValueValidator> InitializeAsync(ActivityContext context, IDataValueDescriptor dataValueDescriptor, CancellationToken cancellationToken)

Parameters

context ActivityContext

The activity context.

dataValueDescriptor IDataValueDescriptor

The data value descriptor.

cancellationToken CancellationToken

A CancellationToken that can request cancellation.

Returns

Task<IInitializedDataValueValidator>

A task that represents the asynchronous operation. The value of its Result property contains an IInitializedDataValueValidator representing the initialized validator.

Exceptions

ArgumentNullException

context is null.

ArgumentNullException

dataValueDescriptor is null.

Exception

The validator could not be initialized. The exception type will depend on the implementation.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.