AisA 1.1.5114
dotnet add package AisA --version 1.1.5114
NuGet\Install-Package AisA -Version 1.1.5114
<PackageReference Include="AisA" Version="1.1.5114" />
paket add AisA --version 1.1.5114
#r "nuget: AisA, 1.1.5114"
// Install AisA as a Cake Addin #addin nuget:?package=AisA&version=1.1.5114 // Install AisA as a Cake Tool #tool nuget:?package=AisA&version=1.1.5114
Implementations of IEqualityComparer and IEqualityComparer<T> which ignore all overridden definitions of equality and compare based on identity alone.
This deliberate usurpation of defined concepts of equality is normally counter-productive. It is however useful in the following cases:
1. A hash-based structure such as a Dictionary<TKey, TValue> is used to associate objects with another which may be equivalent to another using the same dictionary.
2. A hash-based structure such as a Dictionary<TKey, TValue> is used to associate objects with another which may mutate in such a way as to change the hash code based on its defined concept of equality.
3. As a (risky) optimisation, when it is known that no other equivalent objects exist, and therefore this object is the only one that would return true for an equality check. E.g. this would be the case with strings that had all been interned with string.Intern().
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.
Version | Downloads | Last updated |
---|---|---|
1.1.5114 | 1,950 | 12/31/2013 |