-
Notifications
You must be signed in to change notification settings - Fork 36
N_CodeJam
andrewvk edited this page Jul 1, 2016
·
20 revisions
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. |
![]() |
EnumHelper | Extension methods for Enum types |
![]() |
ExceptionExtensions | The Exception class extensions. |
![]() |
Fn | Helper methods for Func(TResult)(Func(TResult)) and delegates. |
![]() |
Fn(T) | Helper methods for Func(TResult) |
![]() |
HashCode | Hash code helper methods. |
![]() |
HGlobal | Wraps Mashal.AllocHGlobal and Marshal.FreeHGlobal. |
![]() |
HGlobal(T) | Wraps Mashal.AllocHGlobal and Marshal.FreeHGlobal using generic. |
![]() |
Lazy | Helper methods for Lazy(T) class. |
![]() |
Memory | The utility class for working with arrays of primitive types. |
![]() |
NullableHelper | Helper method for nullable types. |
![]() |
Option | Methods to work with Option |
![]() |
Option(T) | Represents an optional value. |
![]() |
Option(T).None | Represents an Option without value. |
![]() |
Option(T).Some | Represents an Option with value. |
![]() |
ValueOption | Methods to work with ValueOption |
![]() |
ValueTuple | Provides static methods for creating tuple structs. |
Structure | Description | |
---|---|---|
![]() |
Disposable.EmptyDisposable | The IDisposable implementation with no action on Dispose() |
![]() |
ValueOption(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 | |
---|---|---|
![]() |
IOption(T) | Option(T) and ValueOption(T) common interface. |
![]() |
IValueTuple | Common interface for all tuples. |