ValidationErrorCollection.Assert

Adds a validation error if the condition is true. Otherwise no item is added.

public bool Assert(bool Condition,
	string Message)

Return Value

value of condition

Parameters

Condition
If true the Validation Error is added.

Message
The Error Message for this error.

Overloads:


See also:

Class ValidationErrorCollection

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic