Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
StringDictionaryWrapper.cs
Go to the documentation of this file.
2
4
6{
7 private readonly DictionaryWrapper _contents;
8
9 public override string this[string key]
10 {
11 get
12 {
13 return _contents[key];
14 }
15 set
16 {
18 }
19 }
20
21 public override int Count => _contents.Count;
22
23 public override ICollection Keys => ((IDictionary)_contents).Keys;
24
26
27 public override bool IsSynchronized => false;
28
29 public override object SyncRoot => _contents.SyncRoot;
30
35
36 public override void Add(string key, string value)
37 {
39 {
40 throw new ArgumentException();
41 }
43 }
44
45 public override void Clear()
46 {
48 }
49
50 public override bool ContainsKey(string key)
51 {
53 }
54
55 public override bool ContainsValue(string value)
56 {
58 }
59
60 public override void CopyTo(Array array, int index)
61 {
63 }
64
65 public override IEnumerator GetEnumerator()
66 {
67 foreach (KeyValuePair<string, string> content in _contents)
68 {
69 yield return new DictionaryEntry(content.Key, content.Value);
70 }
71 }
72
73 public override void Remove(string key)
74 {
76 }
77}
void CopyTo(KeyValuePair< string, string >[] array, int arrayIndex)