Skip to content

T_CodeJam_Code

andrewvk edited this page Mar 30, 2016 · 12 revisions

Code Class

[This is preliminary documentation and is subject to change.]

Assertions class.

Inheritance Hierarchy

System.Object
  CodeJam.Code
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

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.

Methods

 

Name Description
Public methodStatic member AssertArgument(Boolean, String, String) Assertion for the argument value
Public methodStatic member AssertArgument(Boolean, String, String, Object[]) Assertion for the argument value
Public methodStatic member AssertState(Boolean, String) State assertion
Public methodStatic member AssertState(Boolean, String, Object[]) State assertion
Public methodStatic member DisposedIf(TDisposable)(Boolean, TDisposable) Assertion for object disposal
Public methodStatic member DisposedIf(TDisposable)(Boolean, TDisposable, String) Assertion for object disposal
Public methodStatic member DisposedIf(TDisposable)(Boolean, TDisposable, String, Object[]) Assertion for object disposal
Public methodStatic member DisposedIfNull(TResource, TDisposable)(TResource, TDisposable) Assertion for object disposal
Public methodStatic member DisposedIfNull(TResource, TDisposable)(TResource, TDisposable, String) Assertion for object disposal
Public methodStatic member DisposedIfNull(TResource, TDisposable)(TResource, TDisposable, String, Object[]) Assertion for object disposal
Public methodStatic member NotNull(T)(Nullable(T), String) Ensures that arg != null
Public methodStatic member NotNull(T)(T, String) Ensures that arg != null
Public methodStatic member NotNullNorEmpty Ensures that arg is not null nor empty
  Back to Top

See Also

Reference

CodeJam Namespace

Clone this wiki locally