protected override void Arrange() { base.Arrange(); GlobalResources.Clear(); addedResource = new ResourceDictionary(); GlobalResources.Add("testDictionaryOne", addedResource, false); }
protected override void Arrange() { keyedDictionary = new KeyedResourceDictionary(); GlobalResources.SetDictionary(keyedDictionary); GlobalResources.Add("testDictionary1", "/Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime;component/Themes/Generic.xaml", true); }
protected override void Arrange() { base.Arrange(); GlobalResources.Clear(); foreach (var entry in AddedDictionaries) { GlobalResources.Add(entry.Key, entry.Value, false); } }
protected override void Act() { GlobalResources.Add("testDictionary", new Uri("/Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime;component/Themes/Generic.xaml", UriKind.Relative), true); GlobalResources.Add("testDictionary2", "/Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime;component/Themes/Generic.xaml", true); }