Eventualist.Extensions
2.0.0.17
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Eventualist.Extensions --version 2.0.0.17
NuGet\Install-Package Eventualist.Extensions -Version 2.0.0.17
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eventualist.Extensions" Version="2.0.0.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eventualist.Extensions --version 2.0.0.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Eventualist.Extensions, 2.0.0.17"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Eventualist.Extensions as a Cake Addin #addin nuget:?package=Eventualist.Extensions&version=2.0.0.17 // Install Eventualist.Extensions as a Cake Tool #tool nuget:?package=Eventualist.Extensions&version=2.0.0.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Eventualist.Extensions
This package contains some small but handy extension methods
A number of simple extensions to bool, and collections. Mainly used for my own website, but you can peruse for your own pleasure.
- Bool: AddNot (transforms a string according to the value of the bool)
- Bool: ToYesOrNo (transforms bool to a yes or no)
- Collection: IsEmpty: returns true if collection is empty
- Collection: IsNotEmpty: returns true if collection is not empty
- Collection Divide: returns a list of sublists of the collections, with a specified maximumlength
In 1.0.0.13
- Memoize, to automatically cache function results. Just apply Memoize() to a Function object to get a memoized version. Caveats: it only works for up to two arguments, and it does not much benefit recursive functions.
In 2.0.0.0
- No new functionality but now compatible with .net 6.0. For compatibility with older versions use 1.0.0.19</Description>
In 2.0.0.9
- Added new functionality for Memoize: up to six arguments are now supported
In 2.0.0.15
- Updated to .NET 7. Added extra unit tests and null safety checks
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.