Metadata >> NuGet >> Option >> 2.0.0

2.0.0

Metadata

Authors Tom Jacques
Copyrights Copyright 2013
Description Binaries for the Option type. Visit https://github.com/tejacques/Option for an overview and usage examples.
LicenseUrl https://github.com/tejacques/Option/blob/master/LICENSE
Owners Tom Jacques
ProjectUrl https://github.com/tejacques/Option/
ReleaseNotes Version Release Notes: Version 2.0.0: - Added functional pattern matching as a fluent API to Options in the form: var matcher = Option<T>.PatternMatch() .None(() => { /* Action when the Option is None */ }) .Some(value, () => { /* Action when the Option is value */ }) .Some((value) => { /* Action when the Option is Some<T> */ }); matcher.Result(Option<T> option); /* Will run the appropriately matched action on the option */ These are also present as instance functions on Option<T>: Option<int> option = getOptionFromMethodCall(); var result = option.Match<string>() .None(() => "None") .Some(0, () => "Zero") .Some((value) => value.ToString()) .Result(); - Pattern matching matches one and only one pattern. - Tests have 100% code coverage. - New Some<T> and None<T> classes. - Breaking Changes: - From() method replaced with Some(). - ToOption() extension method has been removed. Version 1.0.1: - Include documentation. Version 1.0.0: - Adds the Option type to the System.Option namespace.
RequireLicenseAcceptance False
Summary An open source Option type for C#.
Tags Option Some None Maybe
Title Option
PackageSize 17170
PackageHashAlgorithm SHA512
PackageHash y68A9a6NyJ+O/55tw0We56i9Kj86j5L7BxGct/736SMnqwd/+Fd6y+uNza05mLZ9LgITpx6GCY/HJfURmvMk8A==
DownloadCount 000000
CreatedDate 2013-09-29T23:13:29

Access

You can access data for this version using the tools and addresses described below.

NuGet (nuget.exe)

Installing the package (HTTP Basic authentication):
nuget install Option -Version 2.0.0 -Source     http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
Installing the package (pre-authenticated):
nuget install Option -Version 2.0.0 -Source     http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
Deleting the package from the server (for each registered key):
nuget delete Option 2.0.0 %key% -Source     http://nuget.gw.symbolsource.org/Public/NuGet

NuGet (Package Manager Console)

Installing the package (HTTP Basic authentication):
Install-Package Option -Version 2.0.0 -Source     http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
Installing the package (pre-authenticated):
Install-Package Option -Version 2.0.0 -Source     http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc

OpenWrap

Installing the package:
o add-wrap Option -Version 2.0.0
Uninstalling the package:
o remove-wrap Option

Compilations

A compilation is created for every set of binaries produced from a single unchanged set of sources in different compilation modes (Debug, Release), for different platforms (x86, x64) or targetting different frameworks.

Profile Mode Platform Related
AnyCPU Release .NETFramework,Version=v3.5 Binaries