Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DictionaryEntry.cs
Go to the documentation of this file.
3
4namespace System.Collections;
5
7[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
8public struct DictionaryEntry
9{
10 private object _key;
11
12 private object _value;
13
14 public object Key
15 {
16 get
17 {
18 return _key;
19 }
20 set
21 {
22 _key = value;
23 }
24 }
25
26 public object? Value
27 {
28 get
29 {
30 return _value;
31 }
32 set
33 {
34 _value = value;
35 }
36 }
37
38 public DictionaryEntry(object key, object? value)
39 {
40 _key = key;
41 _value = value;
42 }
43
44 [EditorBrowsable(EditorBrowsableState.Never)]
45 public void Deconstruct(out object key, out object? value)
46 {
47 key = Key;
48 value = Value;
49 }
50}
DictionaryEntry(object key, object? value)
void Deconstruct(out object key, out object? value)