-
Notifications
You must be signed in to change notification settings - Fork 36
T_CodeJam_DebugCode
andrewvk edited this page Mar 25, 2016
·
11 revisions
[This is preliminary documentation and is subject to change.]
Debug-time assertions class.
System.Object
CodeJam.DebugCode
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static class DebugCode
VB
Public NotInheritable Class DebugCode
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type DebugCode = class end
The DebugCode type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
AssertArgument(Boolean, String, String) | Assertion for the argument value |
![]() ![]() |
AssertArgument(Boolean, String, String, Object[]) | Assertion for the argument value |
![]() ![]() |
AssertState(Boolean, String) | State assertion |
![]() ![]() |
AssertState(Boolean, String, Object[]) | State assertion |
![]() ![]() |
NotNull(T)(Nullable(T), String) |
Ensures that arg != null
|
![]() ![]() |
NotNull(T)(T, String) |
Ensures that arg != null
|
![]() ![]() |
NotNullNorEmpty | Ensures that arg is not null nor empty |
Name | Description | |
---|---|---|
![]() ![]() |
DebugCondition | Conditional symbol for debug builds. |