PredicateMaps 0.6.0
See the version list below for details.
dotnet add package PredicateMaps --version 0.6.0
NuGet\Install-Package PredicateMaps -Version 0.6.0
<PackageReference Include="PredicateMaps" Version="0.6.0" />
<PackageVersion Include="PredicateMaps" Version="0.6.0" />
<PackageReference Include="PredicateMaps" />
paket add PredicateMaps --version 0.6.0
#r "nuget: PredicateMaps, 0.6.0"
#:package PredicateMaps@0.6.0
#addin nuget:?package=PredicateMaps&version=0.6.0
#tool nuget:?package=PredicateMaps&version=0.6.0
A library with a map type which acts as a wrapper of a dictionary of type Dictionary<Predicate<K>, V>. Values of V are selected from the dictionary where the predicate key resolves to true for a value of K. The wrapper simplifies and wraps the Linq that makes the selection work,
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net is compatible. |
This package has 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.
Added constructor taking a premade dictionary as a parameter. NOTE: this will break existing constructor calls when the package updates. Apologies for this.
Added setting of a default value via all constructors that is used as the return value if no matches are found for GetFirstMatch. Also added a method to update this default value.
Fixed issue of summary comments not appearing after installing the package.