-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Code
andrewvk edited this page Mar 30, 2016
·
12 revisions
[This is preliminary documentation and is subject to change.]
Assertions class.
System.Object
CodeJam.Code
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[PublicAPIAttribute]
public static class Code
VB
<PublicAPIAttribute>
Public NotInheritable Class Code
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<PublicAPIAttribute>]
type Code = class end
The Code 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 | |
DisposedIf(TDisposable)(Boolean, TDisposable) | Assertion for object disposal | |
DisposedIf(TDisposable)(Boolean, TDisposable, String) | Assertion for object disposal | |
DisposedIf(TDisposable)(Boolean, TDisposable, String, Object[]) | Assertion for object disposal | |
DisposedIfNull(TResource, TDisposable)(TResource, TDisposable) | Assertion for object disposal | |
DisposedIfNull(TResource, TDisposable)(TResource, TDisposable, String) | Assertion for object disposal | |
DisposedIfNull(TResource, TDisposable)(TResource, TDisposable, String, Object[]) | Assertion for object disposal | |
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 |