Click or drag to resize

ValidationServiceAddValidation Method

Adds a new validation.

Namespace: GSF.Validation
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public void AddValidation(
	string source,
	IValidator validator
)
View Source

Parameters

source  String
The source that will provide the value to be validated.
validator  IValidator
The IValidator that will validate the value.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource or validator is null.
See Also