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

◆ GetData()

static ? object System.AppContext.GetData ( string name)
inlinestatic

Definition at line 31 of file AppContext.cs.

32 {
33 if (name == null)
34 {
35 throw new ArgumentNullException("name");
36 }
37 if (s_dataStore == null)
38 {
39 return null;
40 }
42 {
43 s_dataStore.TryGetValue(name, out var value);
44 return value;
45 }
46 }
static Dictionary< string, object > s_dataStore
Definition AppContext.cs:15

References System.AppContext.s_dataStore, and System.value.

Referenced by System.AppDomain.GetData(), System.AppContextConfigHelper.GetInt16Config(), System.AppContextConfigHelper.GetInt32Config(), System.StartupHookProvider.ProcessStartupHooks(), System.Globalization.GlobalizationMode.TryGetStringValue(), and System.AppContext.TryGetSwitch().