Assert
Namespace: Bang.Diagnostics
Assembly: Bang.dll
public static class Assert
Helper class for asserting and throwing exceptions on unexpected scenarios.
⭐ Methods
Verify(bool, string)
public void Verify(bool condition, string text)
Verify whether a condition is valid. If not, throw a InvalidOperationException. This throws regardless if it's on release on debug binaries.
Parameters
condition
bool
text
string
⚡