Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ this[object key]

Delegate? System.ComponentModel.EventHandlerList.this[object key]
getset

Definition at line 25 of file EventHandlerList.cs.

26 {
27 get
28 {
29 ListEntry listEntry = null;
31 {
32 listEntry = Find(key);
33 }
34 return listEntry?._handler;
35 }
36 set
37 {
38 ListEntry listEntry = Find(key);
39 if (listEntry != null)
40 {
41 listEntry._handler = value;
42 }
43 else
44 {
45 _head = new ListEntry(key, value, _head);
46 }
47 }
48 }