Skip to content

Methods_T_CodeJam_DebugCode

andrewvk edited this page Apr 21, 2016 · 8 revisions

DebugCode Methods

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

The DebugCode 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 InRange(Int32, String, Int32) Assertion for the argument in range
Public methodStatic member InRange(Int32, String, Int32, Int32) Assertion for the argument in range
Public methodStatic member InRange(T)(T, String, T) Assertion for the argument in range
Public methodStatic member InRange(T)(T, String, T, T) Assertion for the argument in range
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
Public methodStatic member NotNullNorWhiteSpace Ensures that arg is not null nor white space
Public methodStatic member ValidIndex(Int32, String) Assertion for index in range
Public methodStatic member ValidIndex(Int32, String, Int32) Assertion for index in range
Public methodStatic member ValidIndexAndCount Assertion for startIndex-count pair
Public methodStatic member ValidIndexPair Assertion for from-to index pair
  Back to Top

See Also

Reference

DebugCode Class
CodeJam Namespace

Clone this wiki locally