Click or drag to resize

CollectionValidatorTValidateAsync Method (IEnumerableT, IEnumerableT)

Validates the given new collection against the old collection asynchronously and determines if the new collection is valid.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public Task<bool> ValidateAsync(
	IEnumerable<T> oldCollection,
	IEnumerable<T> newCollection
)

Parameters

oldCollection
Type: System.Collections.GenericIEnumerableT
The old collection.
newCollection
Type: System.Collections.GenericIEnumerableT
The new collection to validate.

Return Value

Type: TaskBoolean
True if the given new collection is valid, otherwise false.
See Also