-
Notifications
You must be signed in to change notification settings - Fork 35
N_CodeJam
andrewvk edited this page Apr 25, 2016
·
20 revisions
[This is preliminary documentation and is subject to change.]
The CodeJam namespace contains classes that contains commonly-used functionality.
Classes also provide some useful algorithms, common assertion methods, helpers for IDisposable, useful Func(TResult) instances.
Class | Description | |
---|---|---|
Algorithms | Miscellaneous algorithms | |
Code | Assertions class. | |
CodeExceptions | Exception factory class | |
DebugCode | Debug-time assertions class. Common constants | |
Disposable | Helper methods for IDisposable | |
DisposableExtensions | The IDisposable extensions. | |
Fn | Helper methods for Func(TResult) delegate. | |
Fn(T) | Helper methods for Func(TResult) | |
HashCode | Hash code helper methods. | |
Memory | The utility class for working with arrays of primitive types. | |
Option | Methods to work with Option(T) | |
ValueTuple | Provides static methods for creating tuple structs. |
Structure | Description | |
---|---|---|
Disposable.EmptyDisposable | The IDisposable implementation with no action on Dispose() | |
Option(T) | Represents a value type that can be assigned null. | |
ValueTuple(T1, T2) | Represents a 2-tuple. | |
ValueTuple(T1, T2, T3) | Represents a 3-tuple. | |
ValueTuple(T1, T2, T3, T4) | Represents a 4-tuple. | |
ValueTuple(T1, T2, T3, T4, T5) | Represents a 5-tuple. | |
ValueTuple(T1, T2, T3, T4, T5, T6) | Represents a 6-tuple. | |
ValueTuple(T1, T2, T3, T4, T5, T6, T7) | Represents a 7-tuple. | |
ValueTuple(T1, T2, T3, T4, T5, T6, T7, T8) | Represents a 8-tuple. |
Interface | Description | |
---|---|---|
IValueTuple | Common interface for all tuples. |