1 instantiation of Key
Microsoft.AspNetCore.Components (1)
src\Components\Shared\src\RootTypeCache.cs (1)
40
var key = new
Key
(assembly, type);
6 references to Key
Microsoft.AspNetCore.Components (6)
src\Components\Shared\src\RootTypeCache.cs (6)
18
private readonly ConcurrentDictionary<
Key
, Type?> _typeToKeyLookUp = new();
40
var
key = new Key(assembly, type);
52
private static Type? ResolveType(
Key
key, Assembly[] assemblies)
89
private readonly struct Key : IEquatable<
Key
>
98
public override bool Equals(object? obj) => obj is
Key
key && Equals(key);
100
public bool Equals(
Key
other) => string.Equals(Assembly, other.Assembly, StringComparison.Ordinal) &&