Skip to content

Commit

Permalink
Made class static.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCiliaVincenti committed Mar 14, 2022
1 parent 8ae27bb commit 0f322bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ThreadSafeRandomizer/ThreadSafeRandom.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace ThreadSafeRandomizer
/// <summary>
/// An efficient thread-safe randomizer.
/// </summary>
public class ThreadSafeRandom
public static class ThreadSafeRandom
{
private static readonly Random _global = new Random();
private static readonly ThreadLocal<Random> _local = new ThreadLocal<Random>(() =>
Expand Down
8 changes: 4 additions & 4 deletions ThreadSafeRandomizer/ThreadSafeRandomizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
<RepositoryUrl>https://github.com/MarkCiliaVincenti/ThreadSafeRandomizer.git</RepositoryUrl>
<PackageProjectUrl>https://github.com/MarkCiliaVincenti/ThreadSafeRandomizer</PackageProjectUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Version>1.0.2</Version>
<Version>1.0.3</Version>
<PackageIcon>logo.png</PackageIcon>
<PackageReleaseNotes>Fix naming conflicts.</PackageReleaseNotes>
<PackageReleaseNotes>Made class static.</PackageReleaseNotes>
<Description>An efficient thread-safe randomizer.</Description>
<Copyright>© 2022 Mark Cilia Vincenti</Copyright>
<PackageTags>random,randomizer,randomiser,threadsafe,thread-safe</PackageTags>
<RepositoryType>git</RepositoryType>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<AssemblyVersion>1.0.2.0</AssemblyVersion>
<FileVersion>1.0.2.0</FileVersion>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
<FileVersion>1.0.3.0</FileVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IsPackable>true</IsPackable>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
Expand Down

0 comments on commit 0f322bf

Please sign in to comment.