Interface IReadOnlyTypeMap
Represents read-only view of a set of typed values.
Inherited Members
Namespace: DotNext.Collections.Specialized
Assembly: DotNext.dll
Syntax
public interface IReadOnlyTypeMap : IEnumerable<object>, IEnumerable
Methods
| Edit this page View SourceContains<T>()
Determines whether the set has the value of type T
.
Declaration
bool Contains<T>()
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T | The type of the value. |
TryGetValue<T>(out T?)
Attempts to get the value of the specified type.
Declaration
bool TryGetValue<T>(out T? value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value stored in the set. |
Returns
Type | Description |
---|---|
bool | true if the value of type |
Type Parameters
Name | Description |
---|---|
T | The type of the value. |