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