Search Results for

    Class LemonAssert

    Inheritance
    object
    LemonAssert
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: RedLoader.Assertions
    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
    Name Description
    T

    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
    Name Description
    T

    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
    Name Description
    T

    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
    Type Name Description
    bool obj
    string userMessage

    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
    Name Description
    T

    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
    Name Description
    T

    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
    Name Description
    T

    IsNotNull<T>(T)

    Declaration
    public static void IsNotNull<T>(T obj)
    Parameters
    Type Name Description
    T obj
    Type Parameters
    Name Description
    T

    IsNotNull<T>(T, string)

    Declaration
    public static void IsNotNull<T>(T obj, string userMessage)
    Parameters
    Type Name Description
    T obj
    string userMessage
    Type Parameters
    Name Description
    T

    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
    Name Description
    T

    IsNull<T>(T)

    Declaration
    public static void IsNull<T>(T obj)
    Parameters
    Type Name Description
    T obj
    Type Parameters
    Name Description
    T

    IsNull<T>(T, string)

    Declaration
    public static void IsNull<T>(T obj, string userMessage)
    Parameters
    Type Name Description
    T obj
    string userMessage
    Type Parameters
    Name Description
    T

    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
    Name Description
    T

    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
    Type Name Description
    bool obj
    string userMessage

    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