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

◆ ContainsKey() [1/2]

bool System.Diagnostics.Tracing.EventPayload.ContainsKey ( string key)
inline

Definition at line 73 of file EventPayload.cs.

74 {
75 if (key == null)
76 {
77 throw new ArgumentNullException("key");
78 }
79 string[] names = m_names;
80 foreach (string text in names)
81 {
82 if (text == key)
83 {
84 return true;
85 }
86 }
87 return false;
88 }

References System.key, System.Diagnostics.Tracing.EventPayload.m_names, and System.text.

Referenced by System.Diagnostics.Tracing.EventPayload.Contains().