Interface IReadOnlyTypeMap<TValue>
Represents read-only view of the dictionary where the values are associated with the types.
Namespace: DotNext.Collections.Specialized
Assembly: DotNext.dll
Syntax
public interface IReadOnlyTypeMap<TValue>
Type Parameters
Name | Description |
---|---|
TValue | The type of the values in the map. |
Methods
| Edit this page View SourceContainsKey<TKey>()
Determines whether the map has association between the value and the specified type.
Declaration
bool ContainsKey<TKey>()
Returns
Type | Description |
---|---|
bool | true if there is a value associated with |
Type Parameters
Name | Description |
---|---|
TKey | The type acting as a key. |
TryGetValue<TKey>(out TValue)
Attempts to get the value associated with the specified type.
Declaration
bool TryGetValue<TKey>(out TValue value)
Parameters
Type | Name | Description |
---|---|---|
TValue | value | The value associated with the type. |
Returns
Type | Description |
---|---|
bool | true if there is a value associated with |
Type Parameters
Name | Description |
---|---|
TKey | The type acting as a key. |