FluentRandomPicker 3.0.1

There is a newer version of this package available.
See the version list below for details.
Install-Package FluentRandomPicker -Version 3.0.1
dotnet add package FluentRandomPicker --version 3.0.1
<PackageReference Include="FluentRandomPicker" Version="3.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FluentRandomPicker --version 3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FluentRandomPicker, 3.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install FluentRandomPicker as a Cake Addin
#addin nuget:?package=FluentRandomPicker&version=3.0.1

// Install FluentRandomPicker as a Cake Tool
#tool nuget:?package=FluentRandomPicker&version=3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Fluent Random Picker is a nice, performant, fluent way to pick random values. Probabilities can be specified, values can be weighted.

  • .NETStandard 2.0

    • No dependencies.
  • net5.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.

Version Downloads Last updated
3.1.0 1,799 11/27/2021
3.0.2 72 11/13/2021
3.0.1 133 8/7/2021
3.0.0 141 7/28/2021
2.1.0 224 7/10/2021
2.0.1 117 6/28/2021
2.0.0 213 6/26/2021
1.2.0 207 5/22/2021
1.1.1 99 5/15/2021
1.1.0 125 4/24/2021
1.0.4 104 4/17/2021
1.0.3 96 4/16/2021
1.0.2 112 4/15/2021
1.0.1 82 4/15/2021
1.0.0 100 4/15/2021

v 3.0.1
- Prevented arithmetic overflows when percentage sums / weights sums are too high.
v 3.0.0
- Changed namespace from Fluent_Random_Picker to FluentRandomPicker
- Allowed omitting percentages and weights. E.g. Out.Of().Value('a').WithWeight(2).AndValue('b').PickOne();
- Fixed bug: The shuffle algorithm was not working correctly.
- Improved documentation
- Renamed multiple interfaces, method parameters, ...
v 2.1.0
- Improved package generation process, used SourceLink, fixed version differences of dll, package, ...