Click or drag to resize

IErrorProviderExtensionsResolveErrors Method (IErrorProvider, IEnumerableValidationResult, IValidator)

Resolves error objects for a collection of validation results that are validated by the given validator.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
public static void ResolveErrors(
	this IErrorProvider provider,
	IEnumerable<ValidationResult> results,
	IValidator validator


Type: Xploration.ValidationIErrorProvider
The current error provider.
Type: System.Collections.GenericIEnumerableValidationResult
The validation results to resolve error objects for.
Type: Xploration.ValidationIValidator
The validator to resolve erro objects for.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IErrorProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also