Barotrauma Client Doc
Barotrauma.ListDictionary< TKey, TValue > Class Template Reference
Inheritance diagram for Barotrauma.ListDictionary< TKey, TValue >:

Public Member Functions

 ListDictionary (IReadOnlyList< TValue > list, int len, Func< int, TKey > keyFunc)
 
IEnumerator< KeyValuePair< TKey, TValue > > GetEnumerator ()
 
bool ContainsKey (TKey key)
 
bool TryGetValue (TKey key, out TValue value)
 

Properties

int Count [get]
 
TValue this[TKey key] [get]
 
IEnumerable< TKey > Keys [get]
 
IEnumerable< TValue > Values [get]
 

Detailed Description

Definition at line 9 of file ListDictionary.cs.

Constructor & Destructor Documentation

◆ ListDictionary()

Barotrauma.ListDictionary< TKey, TValue >.ListDictionary ( IReadOnlyList< TValue >  list,
int  len,
Func< int, TKey >  keyFunc 
)

Definition at line 14 of file ListDictionary.cs.

Member Function Documentation

◆ ContainsKey()

bool Barotrauma.ListDictionary< TKey, TValue >.ContainsKey ( TKey  key)

◆ GetEnumerator()

IEnumerator<KeyValuePair<TKey, TValue> > Barotrauma.ListDictionary< TKey, TValue >.GetEnumerator ( )

Definition at line 26 of file ListDictionary.cs.

◆ TryGetValue()

bool Barotrauma.ListDictionary< TKey, TValue >.TryGetValue ( TKey  key,
out TValue  value 
)

Definition at line 39 of file ListDictionary.cs.

Property Documentation

◆ Count

int Barotrauma.ListDictionary< TKey, TValue >.Count
get

Definition at line 36 of file ListDictionary.cs.

◆ Keys

IEnumerable<TKey> Barotrauma.ListDictionary< TKey, TValue >.Keys
get

Definition at line 52 of file ListDictionary.cs.

◆ this[TKey key]

TValue Barotrauma.ListDictionary< TKey, TValue >.this[TKey key]
get

Definition at line 50 of file ListDictionary.cs.

◆ Values

IEnumerable<TValue> Barotrauma.ListDictionary< TKey, TValue >.Values
get

Definition at line 53 of file ListDictionary.cs.