Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReflectionCachesUpdateHandler.cs
Go to the documentation of this file.
2
4
5internal static class ReflectionCachesUpdateHandler
6{
7 public static void ClearCache(Type[] types)
8 {
10 if (types != null)
11 {
12 foreach (Type type in types)
13 {
15 }
16 return;
17 }
18 Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
19 foreach (Assembly assembly in assemblies)
20 {
21 TypeDescriptor.Refresh(assembly);
22 }
23 }
24}
static AppDomain CurrentDomain
Definition AppDomain.cs:28
static void Refresh(object component)