Table of Contents

Class DbgAssert

Namespace
Coherence.Debugging
Assembly
Coherence.Debugging.dll
public static class DbgAssert
Inheritance
DbgAssert

Properties

Enabled

public static bool Enabled { get; set; }

Property Value

bool

Methods

That(bool, string)

[Conditional("UNITY_ASSERTIONS")]
public static void That(bool condition, string message)

Parameters

condition bool
message string

ThatFmt<T1>(bool, string, in T1)

[Conditional("UNITY_ASSERTIONS")]
public static void ThatFmt<T1>(bool condition, string messageToFormat, in T1 arg1)

Parameters

condition bool
messageToFormat string
arg1 T1

Type Parameters

T1

ThatFmt<T1, T2>(bool, string, in T1, in T2)

[Conditional("UNITY_ASSERTIONS")]
public static void ThatFmt<T1, T2>(bool condition, string messageToFormat, in T1 arg1, in T2 arg2)

Parameters

condition bool
messageToFormat string
arg1 T1
arg2 T2

Type Parameters

T1
T2

ThatFmt<T1, T2, T3>(bool, string, in T1, in T2, in T3)

[Conditional("UNITY_ASSERTIONS")]
public static void ThatFmt<T1, T2, T3>(bool condition, string messageToFormat, in T1 arg1, in T2 arg2, in T3 arg3)

Parameters

condition bool
messageToFormat string
arg1 T1
arg2 T2
arg3 T3

Type Parameters

T1
T2
T3

ThatFmt<T1, T2, T3, T4>(bool, string, in T1, in T2, in T3, in T4)

[Conditional("UNITY_ASSERTIONS")]
public static void ThatFmt<T1, T2, T3, T4>(bool condition, string messageToFormat, in T1 arg1, in T2 arg2, in T3 arg3, in T4 arg4)

Parameters

condition bool
messageToFormat string
arg1 T1
arg2 T2
arg3 T3
arg4 T4

Type Parameters

T1
T2
T3
T4