Westwind Utilities
ValidationErrorCollection.Assert
Table of Contents
On this page:

ValidationErrorCollection.Assert

public bool Assert(bool condition, string message, 
			string fieldName)

Parameters

condition
If true the Validation Error is added.

message
The Error Message for this error.

fieldName
Optional fieldName that can be linked in UI

Overloads

public bool Assert(bool condition, string message)
public bool Assert(bool condition, ValidationError error)
public bool Assert(bool condition, string message, string fieldName, string id)

See also

ValidationErrorCollection Class

© West Wind Technologies, 2026 • updated: Jan 30, 2026
Comment or report problem with topic