-
Notifications
You must be signed in to change notification settings - Fork 36
N_CodeJam
andrewvk edited this page Nov 5, 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 |
![]() |
DebugEnumCode | Enum assertions class. |
![]() |
Disposable | Helper methods for IDisposable |
![]() |
DisposableExtensions | The IDisposable extensions. |
![]() |
EnumCode | Enum assertions class. |
![]() |
EnumCodeExceptions | Enum exception factory class |
![]() |
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 | HGlobal wrapper. |
![]() |
HGlobalScope | Wraps AllocHGlobal(IntPtr) and FreeHGlobal(IntPtr). |
![]() |
HGlobalScope(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 |
Structure | Description | |
---|---|---|
![]() |
Disposable.EmptyDisposable | The IDisposable implementation with no action on Dispose() |
![]() |
ValueOption(T) | Represents a value type that can be assigned null. |
Interface | Description | |
---|---|---|
![]() |
IOption(T) | Option(T) and ValueOption(T) common interface. |