Class InitializedDataValueValidator
- Namespace
- Acuit.Pinpoint.Workflows.Testing.Validation
- Assembly
- Acuit.Pinpoint.Workflows.Testing.dll
public class InitializedDataValueValidator : IInitializedDataValueValidator, ICriteriaProvider
- Inheritance
-
InitializedDataValueValidator
- Implements
- Inherited Members
- Extension Methods
Constructors
InitializedDataValueValidator(Func<IDataValue, bool>, string)
public InitializedDataValueValidator(Func<IDataValue, bool> validator, string criteria)
Parameters
validator
Func<IDataValue, bool>criteria
string
Properties
Criteria
Gets the validation criteria as a human-readable phrase, without units (e.g., "> 10"). This should never be null or empty.
public string Criteria { get; }
Property Value
Methods
Validate(IDataValue)
public bool Validate(IDataValue value)
Parameters
value
IDataValue