IFailureListFailIf Method |
Adds a new failure object to the list if condition is true
Namespace: Jeneva.ValidationAssembly: Jeneva.Net-1.1 (in Jeneva.Net-1.1.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxvoid FailIf(
bool condition,
string key,
string text
)
Sub FailIf (
condition As Boolean,
key As String,
text As String
)
Parameters
- condition
- Type: SystemBoolean
condition - key
- Type: SystemString
key of the failure - text
- Type: SystemString
text of the failure
See Also