Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: libanvl/opt

Tags

v2.7.7-beta

Toggle v2.7.7-beta's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enhance Opt class with new transformation methods (#24)

Updated `Opt.cs` to add overloaded `AndThen` methods supporting nullable return types and introduced new `OrThen` methods for option handling. Added unit tests in `OptTests.cs` to validate the new functionality for both some and none cases.

v2.7.6-beta

Toggle v2.7.6-beta's commit message

Verified

This commit was signed with the committer’s verified signature.
trippwill Charles Willis
Fix nullable bugs in Select and From

Updated the `Opt` class in `Opt.cs` to include XML documentation for the `From` method, which now supports both nullable value types and non-nullable reference types. Converted `Zip` and `Flatten` methods to extension methods. Changed the constructor of `Opt<T>` to internal and modified the `Select` method to accept functions returning nullable types. Added a new `Where` method for filtering options based on predicates.

In `OptTests.cs`, added unit tests for the `Select` and `Where` methods, covering value transformations, null handling, and behavior when the option is `None`. Included additional tests for casting options to validate correct and incorrect casts.

v2.7.5-beta

Toggle v2.7.5-beta's commit message
Set version to '2.7-beta'

v2.6.11-beta

Toggle v2.6.11-beta's commit message
Set version to '2.6-beta'

v2.5.4-rc

Toggle v2.5.4-rc's commit message
Set version to '2.5-rc'

v2.4.4-rc

Toggle v2.4.4-rc's commit message
Set version to '2.4-rc'

v2.3.7-rc

Toggle v2.3.7-rc's commit message
Set version to '2.3-rc'

v2.2.14-rc

Toggle v2.2.14-rc's commit message
Merge branch 'release/v2.2'

v2.1.9-rc

Toggle v2.1.9-rc's commit message
Merge branch 'release/v2.1'

v1.10.3-beta

Toggle v1.10.3-beta's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update README.md