internal static void ApplyInternal(System.Windows.Application application, AppThemeDictionary themeResources) { ValidationHelper.NotNull(application, "application"); ValidationHelper.NotNull(themeResources, "themeResources"); ApplyCore(application.Resources, themeResources); Cache.Iterate(cachedControl => ApplyInternal(cachedControl, General.GetThemeResources(cachedControl))); }