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

◆ ClearCache()

static void System.ComponentModel.ReflectionCachesUpdateHandler.ClearCache ( Type[] types)
inlinestatic

Definition at line 7 of file ReflectionCachesUpdateHandler.cs.

8 {
9 ReflectTypeDescriptionProvider.ClearReflectionCaches();
10 if (types != null)
11 {
12 foreach (Type type in types)
13 {
14 TypeDescriptor.Refresh(type);
15 }
16 return;
17 }
18 Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
19 foreach (Assembly assembly in assemblies)
20 {
21 TypeDescriptor.Refresh(assembly);
22 }
23 }

References System.ComponentModel.ReflectTypeDescriptionProvider.ClearReflectionCaches(), System.AppDomain.CurrentDomain, System.ComponentModel.TypeDescriptor.Refresh(), and System.type.