Skip to content

Commit

Permalink
Fix naming conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCiliaVincenti committed Mar 13, 2022
1 parent c81c7e2 commit 8ae27bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ var myNum = random.Next();

With:
```csharp
var myNum = ThreadSafeRandomizer.Instance.Next();
var myNum = ThreadSafeRandom.Instance.Next();
```
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 ThreadSafeRandomizer
public 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.1</Version>
<Version>1.0.2</Version>
<PackageIcon>logo.png</PackageIcon>
<PackageReleaseNotes>Added XML summary documentation.</PackageReleaseNotes>
<PackageReleaseNotes>Fix naming conflicts.</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.1.0</AssemblyVersion>
<FileVersion>1.0.1.0</FileVersion>
<AssemblyVersion>1.0.2.0</AssemblyVersion>
<FileVersion>1.0.2.0</FileVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IsPackable>true</IsPackable>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
Expand Down

0 comments on commit 8ae27bb

Please sign in to comment.