Class LemonAssert
Assembly: RedLoader.dll
Syntax
public static class LemonAssert
Methods
IsEqual<T>(T, T)
Declaration
public static void IsEqual<T>(T obj, T obj2)
Parameters
Type |
Name |
Description |
T |
obj |
|
T |
obj2 |
|
Type Parameters
IsEqual<T>(T, T, string)
Declaration
public static void IsEqual<T>(T obj, T obj2, string userMessage)
Parameters
Type |
Name |
Description |
T |
obj |
|
T |
obj2 |
|
string |
userMessage |
|
Type Parameters
IsEqual<T>(T, T, string, bool)
Declaration
public static void IsEqual<T>(T obj, T obj2, string userMessage, bool shouldThrowException)
Parameters
Type |
Name |
Description |
T |
obj |
|
T |
obj2 |
|
string |
userMessage |
|
bool |
shouldThrowException |
|
Type Parameters
IsFalse(bool)
Declaration
public static void IsFalse(bool obj)
Parameters
Type |
Name |
Description |
bool |
obj |
|
IsFalse(bool, string)
Declaration
public static void IsFalse(bool obj, string userMessage)
Parameters
IsFalse(bool, string, bool)
Declaration
public static void IsFalse(bool obj, string userMessage, bool shouldThrowException)
Parameters
Type |
Name |
Description |
bool |
obj |
|
string |
userMessage |
|
bool |
shouldThrowException |
|
IsNotEqual<T>(T, T)
Declaration
public static void IsNotEqual<T>(T obj, T obj2)
Parameters
Type |
Name |
Description |
T |
obj |
|
T |
obj2 |
|
Type Parameters
IsNotEqual<T>(T, T, string)
Declaration
public static void IsNotEqual<T>(T obj, T obj2, string userMessage)
Parameters
Type |
Name |
Description |
T |
obj |
|
T |
obj2 |
|
string |
userMessage |
|
Type Parameters
IsNotEqual<T>(T, T, string, bool)
Declaration
public static void IsNotEqual<T>(T obj, T obj2, string userMessage, bool shouldThrowException)
Parameters
Type |
Name |
Description |
T |
obj |
|
T |
obj2 |
|
string |
userMessage |
|
bool |
shouldThrowException |
|
Type Parameters
IsNotNull<T>(T)
Declaration
public static void IsNotNull<T>(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Type Parameters
IsNotNull<T>(T, string)
Declaration
public static void IsNotNull<T>(T obj, string userMessage)
Parameters
Type |
Name |
Description |
T |
obj |
|
string |
userMessage |
|
Type Parameters
IsNotNull<T>(T, string, bool)
Declaration
public static void IsNotNull<T>(T obj, string userMessage, bool shouldThrowException)
Parameters
Type |
Name |
Description |
T |
obj |
|
string |
userMessage |
|
bool |
shouldThrowException |
|
Type Parameters
IsNull<T>(T)
Declaration
public static void IsNull<T>(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Type Parameters
IsNull<T>(T, string)
Declaration
public static void IsNull<T>(T obj, string userMessage)
Parameters
Type |
Name |
Description |
T |
obj |
|
string |
userMessage |
|
Type Parameters
IsNull<T>(T, string, bool)
Declaration
public static void IsNull<T>(T obj, string userMessage, bool shouldThrowException)
Parameters
Type |
Name |
Description |
T |
obj |
|
string |
userMessage |
|
bool |
shouldThrowException |
|
Type Parameters
IsTrue(bool)
Declaration
public static void IsTrue(bool obj)
Parameters
Type |
Name |
Description |
bool |
obj |
|
IsTrue(bool, string)
Declaration
public static void IsTrue(bool obj, string userMessage)
Parameters
IsTrue(bool, string, bool)
Declaration
public static void IsTrue(bool obj, string userMessage, bool shouldThrowException)
Parameters
Type |
Name |
Description |
bool |
obj |
|
string |
userMessage |
|
bool |
shouldThrowException |
|