Option
Option copied to clipboard
An Option type for C#
- Upgraded project to .Net Standard 1.0 - Removed old nuget builder since project now output nuget package.
It should be easy to compile source code against .netstandard1.1 target, since it only references BCL.
Addition of the [Serialization] attribute to the Option type, along with a test for binary serialisation. It's something we've found useful as we needed to use SQL Server to store...
I am aware of the benefits of having the 'Option'-type implement IEnumerable. However, is there a specific reason why the 'ForEach'-method is titled as such? In a codebase I'm currently...
Idea from: https://github.com/louthy/language-ext This allows for runtime checked Non-null types.
Currently, there are 7 methods to use the value in an option: #### 1) `TryGetValue` ``` csharp if(option.TryGetValue(out value)) { /* use value */ } ``` #### 2) `HasValue` and...