|
| | ReadOnlyDictionary (IDictionary< TKey, TValue > dictionaryToWrap) |
| void | Add (TKey key, TValue value) |
| bool | ContainsKey (TKey key) |
| bool | Remove (TKey key) |
| bool | TryGetValue (TKey key, out TValue value) |
| void | Add (KeyValuePair< TKey, TValue > item) |
| void | Clear () |
| bool | Contains (KeyValuePair< TKey, TValue > item) |
| void | CopyTo (KeyValuePair< TKey, TValue >[] array, int arrayIndex) |
| bool | Remove (KeyValuePair< TKey, TValue > item) |
| IEnumerator< KeyValuePair< TKey, TValue > > | GetEnumerator () |
| void | Add (object key, object value) |
| bool | Contains (object key) |
| void | Remove (object key) |
| void | CopyTo (Array array, int index) |
| void | OnDeserialization (object sender) |
| void | GetObjectData (SerializationInfo info, StreamingContext context) |
Definition at line 10 of file ReadOnlyDictionary.cs.
◆ Add() [1/3]
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Add |
( |
KeyValuePair< TKey, TValue > | item | ) |
|
◆ Add() [2/3]
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Add |
( |
object | key, |
|
|
object | value ) |
◆ Add() [3/3]
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Add |
( |
TKey | key, |
|
|
TValue | value ) |
◆ AsReadOnly()
| ReadOnlyDictionary< TKey, TValue > ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.AsReadOnly |
( |
IDictionary< TKey, TValue > | dictionaryToWrap | ) |
|
|
static |
◆ Clear()
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Clear |
( |
| ) |
|
◆ Contains() [1/2]
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Contains |
( |
KeyValuePair< TKey, TValue > | item | ) |
|
◆ Contains() [2/2]
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Contains |
( |
object | key | ) |
|
◆ ContainsKey()
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.ContainsKey |
( |
TKey | key | ) |
|
◆ CopyTo() [1/2]
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.CopyTo |
( |
Array | array, |
|
|
int | index ) |
◆ CopyTo() [2/2]
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.CopyTo |
( |
KeyValuePair< TKey, TValue >[] | array, |
|
|
int | arrayIndex ) |
◆ GetEnumerator()
| IEnumerator< KeyValuePair< TKey, TValue > > ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.GetEnumerator |
( |
| ) |
|
◆ GetObjectData()
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.GetObjectData |
( |
SerializationInfo | info, |
|
|
StreamingContext | context ) |
Definition at line 131 of file ReadOnlyDictionary.cs.
132 {
133 ISerializable serializable = m_dictionaryTyped as ISerializable;
134 serializable.GetObjectData(info, context);
135 }
◆ OnDeserialization()
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.OnDeserialization |
( |
object | sender | ) |
|
Definition at line 126 of file ReadOnlyDictionary.cs.
127 {
128 IDeserializationCallback callback = m_dictionaryTyped as IDeserializationCallback;
129 callback.OnDeserialization(sender);
130 }
◆ ReadOnlyDictionary()
| ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.ReadOnlyDictionary |
( |
IDictionary< TKey, TValue > | dictionaryToWrap | ) |
|
Definition at line 57 of file ReadOnlyDictionary.cs.
58 {
59 m_dictionaryTyped = dictionaryToWrap;
60 m_dictionary = (IDictionary)m_dictionaryTyped;
61 }
Referenced by AsReadOnly().
◆ Remove() [1/3]
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Remove |
( |
KeyValuePair< TKey, TValue > | item | ) |
|
◆ Remove() [2/3]
| void ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Remove |
( |
object | key | ) |
|
◆ Remove() [3/3]
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Remove |
( |
TKey | key | ) |
|
◆ TryGetValue()
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.TryGetValue |
( |
TKey | key, |
|
|
out TValue | value ) |
Definition at line 77 of file ReadOnlyDictionary.cs.
78 {
79 return m_dictionaryTyped.TryGetValue(key, out value);
80 }
◆ Count
| int ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Count |
|
get |
Definition at line 154 of file ReadOnlyDictionary.cs.
155 {
156 get
157 {
158 return m_dictionaryTyped.Count;
159 }
160 }
◆ IsFixedSize
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.IsFixedSize |
|
get |
Definition at line 178 of file ReadOnlyDictionary.cs.
179 {
180 get
181 {
182 return m_dictionary.IsFixedSize;
183 }
184 }
◆ IsReadOnly
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.IsReadOnly |
|
get |
◆ IsSynchronized
| bool ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.IsSynchronized |
|
get |
Definition at line 185 of file ReadOnlyDictionary.cs.
186 {
187 get
188 {
189 return m_dictionary.IsSynchronized;
190 }
191 }
◆ Keys
| ICollection<TKey> ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Keys |
|
get |
Definition at line 140 of file ReadOnlyDictionary.cs.
141 {
142 get
143 {
144 return ReadOnlyICollection<TKey>.AsReadOnly(m_dictionaryTyped.Keys);
145 }
146 }
◆ SyncRoot
| object ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.SyncRoot |
|
get |
◆ this[object key]
| object ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.this[object key] |
|
getset |
Definition at line 113 of file ReadOnlyDictionary.cs.
114 {
115 get
116 {
117 return m_dictionary[key];
118 }
119 set
120 {
121 }
122 }
◆ this[TKey key]
| TValue ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.this[TKey key] |
|
getset |
Definition at line 168 of file ReadOnlyDictionary.cs.
169 {
170 get
171 {
172 return m_dictionaryTyped[key];
173 }
174 set
175 {
176 }
177 }
◆ Values
| ICollection<TValue> ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Values |
|
get |
Definition at line 147 of file ReadOnlyDictionary.cs.
148 {
149 get
150 {
151 return ReadOnlyICollection<TValue>.AsReadOnly(m_dictionaryTyped.Values);
152 }
153 }
The documentation for this class was generated from the following file: