Click or drag to resize

IValidatorExtensionsGetConcreteValidator Method

Returns the concrete validator of the current validator if the current validator is an IDelegatedValidator.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
public static IValidator GetConcreteValidator(
	this IValidator validator


Type: Xploration.ValidationIValidator
The current validator.

Return Value

Type: IValidator
The concrete validator or the current validator.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IValidator. 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).
ArgumentNullExceptionThrown when the given value for the validator parameter is null.
See Also