Info
Version: | 3.0.0.17 |
Author(s): | Iede Snoek |
Last Update: | Saturday, November 25, 2023 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Eventualist.Extensions |
Install
Install-Package Eventualist.Extensions
dotnet add package Eventualist.Extensions
paket add Eventualist.Extensions
Eventualist.Extensions Download (Unzip the "nupkg" after downloading)
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: 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.