Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
ListDictionary< TKey, TValue > Class Template Reference

Public Member Functions

bool Add (TKey key, TValue val)
 
void Clear ()
 
Dictionary< TKey, List< TValue >
>.Enumerator 
GetEnumerator ()
 
 ListDictionary ()
 
 ListDictionary (ListDictionary< TKey, TValue > old, bool shallow=true)
 
bool Remove (TKey key, TValue val)
 
bool Remove (TKey key)
 
bool TryGetValue (TKey key, out List< TValue > val)
 

Properties

Dictionary< TKey, List< TValue >
>.KeyCollection 
Keys [get]
 
List< TValue > this[TKey key] [get, set]
 DO NOT USE UNLESS YOU PLAN TO REPLACE THE LIST. Use Add and Remove to add and remove Values from the Key. More...
 
Dictionary< TKey, List< TValue >
>.ValueCollection 
Values [get]
 

Constructor & Destructor Documentation

ListDictionary< TKey, TValue >.ListDictionary ( )
inline
ListDictionary< TKey, TValue >.ListDictionary ( ListDictionary< TKey, TValue >  old,
bool  shallow = true 
)
inline

Member Function Documentation

bool ListDictionary< TKey, TValue >.Add ( TKey  key,
TValue  val 
)
inline
void ListDictionary< TKey, TValue >.Clear ( )
inline
Dictionary<TKey, List<TValue> >.Enumerator ListDictionary< TKey, TValue >.GetEnumerator ( )
inline
bool ListDictionary< TKey, TValue >.Remove ( TKey  key,
TValue  val 
)
inline
bool ListDictionary< TKey, TValue >.Remove ( TKey  key)
inline
bool ListDictionary< TKey, TValue >.TryGetValue ( TKey  key,
out List< TValue >  val 
)
inline

Property Documentation

Dictionary<TKey, List<TValue> >.KeyCollection ListDictionary< TKey, TValue >.Keys
get
List<TValue> ListDictionary< TKey, TValue >.this[TKey key]
getset

DO NOT USE UNLESS YOU PLAN TO REPLACE THE LIST. Use Add and Remove to add and remove Values from the Key.

Parameters
key
Returns
Dictionary<TKey, List<TValue> >.ValueCollection ListDictionary< TKey, TValue >.Values
get

The documentation for this class was generated from the following file: