Guard.IsTrue(Boolean, String) Method
Checks whether the expression returns true. If it returns false, the method throws an exception with the specified text.
Namespace: DevExpress.ExpressApp.Utils
Assembly: DevExpress.ExpressApp.v26.1.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| expression | Boolean | The expression to check. |
| message | String | The exception message. |
See Also