- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
Methods_T_CodeJam_DebugCode
        andrewvk edited this page Apr 5, 2016 
        ·
        8 revisions
      
    [This is preliminary documentation and is subject to change.]
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 | 
|    | InRange(Int32, String, Int32, Int32) | Assertion for the argument in range | 
|    | InRange(T)(T, String, T, T) | Assertion for the argument in range | 
|    | 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 | 
|    | NotNullNorWhiteSpace | Ensures that arg is not null nor white space | 
|    | ValidIndex(Int32, String) | Assertion for index in range | 
|    | ValidIndex(Int32, String, Int32) | Assertion for index in range | 
|    | ValidIndexAndCount | Assertion for startIndex-count pair | 
|    | ValidIndexPair | Assertion for from-to index pair |