Skip to main content
All docs
V26.1
  • Guard.AreEqual<T>(T, T, String) Method

    Checks whether the specified items are equal. If they are not, the method throws an exception with the specified message.

    Namespace: DevExpress.ExpressApp.Utils

    Assembly: DevExpress.ExpressApp.v26.1.dll

    Declaration

    public static void AreEqual<T>(
        T item1,
        T item2,
        string message
    )

    Parameters

    Name Type Description
    item1 T

    The first item to compare.

    item2 T

    The second item to compare.

    message String

    The exception message.

    Type Parameters

    Name Description
    T

    The type of items to compare.

    See Also