Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
KeysCollectionAccessor.cs
Go to the documentation of this file.
1
namespace
System.Collections.Immutable
;
2
3
internal
sealed
class
KeysCollectionAccessor
<TKey, TValue> :
KeysOrValuesCollectionAccessor
<TKey, TValue, TKey> where TKey : notnull
4
{
5
internal
KeysCollectionAccessor
(
IImmutableDictionary<TKey, TValue>
dictionary
)
6
:
base
(
dictionary
,
dictionary
.Keys)
7
{
8
}
9
10
public
override
bool
Contains
(TKey
item
)
11
{
12
return
base
.Dictionary.ContainsKey(
item
);
13
}
14
}
System.Collections.Immutable.KeysCollectionAccessor.KeysCollectionAccessor
KeysCollectionAccessor(IImmutableDictionary< TKey, TValue > dictionary)
Definition
KeysCollectionAccessor.cs:5
System.Collections.Immutable.KeysCollectionAccessor.Contains
override bool Contains(TKey item)
Definition
KeysCollectionAccessor.cs:10
System.Collections.Immutable.KeysCollectionAccessor
Definition
KeysCollectionAccessor.cs:4
System.Collections.Immutable.KeysOrValuesCollectionAccessor< TKey, TValue, TKey >::Dictionary
IImmutableDictionary< TKey, TValue > Dictionary
Definition
KeysOrValuesCollectionAccessor.cs:16
System.Collections.Immutable.KeysOrValuesCollectionAccessor
Definition
KeysOrValuesCollectionAccessor.cs:7
System.Collections.Immutable.IImmutableDictionary
Definition
IImmutableDictionary.cs:6
System.Collections.Immutable
Definition
AllocFreeConcurrentStack.cs:4
System.ExceptionArgument.item
@ item
System.ExceptionArgument.dictionary
@ dictionary
source
System.Collections.Immutable
System.Collections.Immutable
KeysCollectionAccessor.cs
Generated by
1.10.0