DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="5.14.0" />

 IReadOnlyTypeMap<TValue>

public interface IReadOnlyTypeMap<TValue>
Represents read-only view of the dictionary where the values are associated with the types.
bool ContainsKey<TKey>()

Determines whether the map has association between the value and the specified type.

bool TryGetValue<TKey>(out TValue value)

Attempts to get the value associated with the specified type.