ScriptStack 1.0.0
A .NET scripting language
Lade ...
Suche ...
Keine Treffer
ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue > Template-Klassenreferenz
Klassendiagramm für ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >:

Öffentliche Methoden

 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)
 

Öffentliche, statische Methoden

static ReadOnlyDictionary< TKey, TValueAsReadOnly (IDictionary< TKey, TValue > dictionaryToWrap)
 

Propertys

ICollection IDictionary. Keys [get]
 
ICollection IDictionary. Values [get]
 
object this[object key] [get, set]
 
ICollection< TKeyKeys [get]
 
ICollection< TValueValues [get]
 
int Count [get]
 
bool IsReadOnly [get]
 
TValue this[TKey key] [get, set]
 
bool IsFixedSize [get]
 
bool IsSynchronized [get]
 
object SyncRoot [get]
 

Private Methoden

IEnumerator IEnumerable. GetEnumerator ()
 
IDictionaryEnumerator IDictionary. GetEnumerator ()
 

Private Attribute

IDictionary< TKey, TValuem_dictionaryTyped
 
IDictionary m_dictionary
 

Beschreibung der Konstruktoren und Destruktoren

◆ ReadOnlyDictionary()

58 {
60 m_dictionary = (IDictionary)m_dictionaryTyped;
61 }
IDictionary m_dictionary
Definition ReadOnlyDictionary.cs:22
IDictionary< TKey, TValue > m_dictionaryTyped
Definition ReadOnlyDictionary.cs:21
ReadOnlyDictionary(IDictionary< TKey, TValue > dictionaryToWrap)
Definition ReadOnlyDictionary.cs:57

Benutzt ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.m_dictionary und ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.m_dictionaryTyped.

Wird benutzt von ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.AsReadOnly().

Dokumentation der Elementfunktionen

◆ Add() [1/3]

◆ Add() [2/3]

◆ Add() [3/3]

◆ AsReadOnly()

◆ Clear()

◆ Contains() [1/2]

◆ Contains() [2/2]

◆ ContainsKey()

◆ CopyTo() [1/2]

124 {
125 }

◆ CopyTo() [2/2]

◆ GetEnumerator() [1/3]

◆ GetEnumerator() [2/3]

◆ GetEnumerator() [3/3]

◆ GetObjectData()

◆ OnDeserialization()

◆ Remove() [1/3]

96 {
97 return false;
98 }

◆ Remove() [2/3]

◆ Remove() [3/3]

74 {
75 return false;
76 }

Wird benutzt von ScriptStack.Manager.UnRegister().

◆ TryGetValue()

Dokumentation der Datenelemente

◆ m_dictionary

◆ m_dictionaryTyped

Dokumentation der Propertys

◆ Count

155 {
156 get
157 {
159 }
160 }
int Count
Definition ReadOnlyDictionary.cs:155

Wird benutzt von ScriptStack.Runtime.Script.Scan().

◆ IsFixedSize

179 {
180 get
181 {
182 return m_dictionary.IsFixedSize;
183 }
184 }

◆ IsReadOnly

162 {
163 get
164 {
165 return true;
166 }
167 }

◆ IsSynchronized

186 {
187 get
188 {
189 return m_dictionary.IsSynchronized;
190 }
191 }

◆ Keys [1/2]

ICollection IDictionary. ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Keys
getprivate
40 {
41 get
42 {
43 return m_dictionary.Keys;
44 }
45 }

◆ Keys [2/2]

141 {
142 get
143 {
145 }
146 }
ICollection IDictionary. Keys
Definition ReadOnlyDictionary.cs:40

◆ SyncRoot

193 {
194 get
195 {
196 return m_dictionary.SyncRoot;
197 }
198 }

◆ this[object key]

114 {
115 get
116 {
117 return m_dictionary[key];
118 }
119 set
120 {
121 }
122 }

◆ this[TKey key]

169 {
170 get
171 {
172 return m_dictionaryTyped[key];
173 }
174 set
175 {
176 }
177 }

◆ Values [1/2]

ICollection IDictionary. ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Values
getprivate
47 {
48 get
49 {
50 return m_dictionary.Values;
51 }
52 }

◆ Values [2/2]

148 {
149 get
150 {
152 }
153 }
ICollection IDictionary. Values
Definition ReadOnlyDictionary.cs:47

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: