Strilanc
- 68,872 total downloads
- last updated 11/29/2012
- Latest version: 1.0.2
Implements an option type (Strilanc.Value.May<T>) that encourages usage based on pattern matching rather than ForceGetValue. Also includes utility methods for producing, consuming and transforming May<T>.
Note on null: May<T> treats null like any other value. May.NoValue is distinct from null, and...
More information
- 4,817 total downloads
- last updated 11/29/2012
- Latest version: 1.0.3
A simple library for working with directions and rotations in 2d. Provides types for representing facing (Dir), turning (Turn), conversion (Basis) and clamping (Range).
- 4,253 total downloads
- last updated 7/26/2013
- Latest version: 1.0.3
An observable collection where items are removed when a lifetime paired with them ends.
Affords projecting, filtering, and other functional-style usage by removing the need to equate removed items with previously added items.
- 3,577 total downloads
- last updated 1/8/2013
- Latest version: 1.0.2
A small library that implements an improved version of System.Threading.CancellationToken with support for removable registrations, to allow for garbage collection in the presence of long-lived tokens, plus some related utilities.
Motivation: cancellation tokens can be the source of memory "leaks",...
More information
- 2,540 total downloads
- last updated 12/22/2012
- Latest version: 1.0.1
Implements types and extension methods for transforming and implicitly defining instances of the readonly collection interfaces new to .Net 4.5.
(The interfaces are IReadOnlyList<T>, IReadOnlyCollection<T>, and IReadOnlyDictionary<K,V>.)
For example, the library implements a Select method that...
More information
- 1,905 total downloads
- last updated 11/1/2013
- Latest version: 1.0.1
Parse and pack simple binary formats by describing the format as a combination of basic binary elements.
A 'jar' is a combination parser/packer. The library includes basic jars, like a jar for big-endian 32-bit integers, as well as combinators that augment jars into more complicated jars, like...
More information
- 1,350 total downloads
- last updated 1/30/2013
- Latest version: 1.0.0
A variety of utility classes and methods related to tasks, synchronization contexts, asynchrony, exclusion, and awaiting.
Makes tasks queryable and synchronization contexts awaitable. Includes anonymous awaitable types, a void task completion source, a simple one time lock, etc. See the project url...
More information