Phema.Random.Core 3.0.0

C# Random wrapper for Microsoft.Extensions.DependencyInjection

Install-Package Phema.Random.Core -Version 3.0.0
dotnet add package Phema.Random.Core --version 3.0.0
<PackageReference Include="Phema.Random.Core" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Phema.Random.Core --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Phema.Random.Core, 3.0.0"
#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 Phema.Random.Core as a Cake Addin
#addin nuget:?package=Phema.Random.Core&version=3.0.0

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

Phema.Random

Nuget

C# Random wrapper for Microsoft.Extensions.DependencyInjection

Usage

// Add
services.AddRandom(...); // .AddCryptoRandom(...)

// Get
var random = provider.GetRequiredService<IRandom>();

// Use
var number = random.Next(); // .Next(10) .Next(10, 20) .NextBytes(100) .NextBool()

Phema.Random

Nuget

C# Random wrapper for Microsoft.Extensions.DependencyInjection

Usage

// Add
services.AddRandom(...); // .AddCryptoRandom(...)

// Get
var random = provider.GetRequiredService<IRandom>();

// Use
var number = random.Next(); // .Next(10) .Next(10, 20) .NextBytes(100) .NextBool()

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Phema.Random.Core:

Package Downloads
Phema.Random.Crypto
C# Random wrapper for Microsoft.Extensions.DependencyInjection
Phema.Random
C# Random wrapper for Microsoft.Extensions.DependencyInjection

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 216 7/24/2019
3.0.0-preview3.0.0 172 3/30/2019