Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Dec 5, 2018
1 parent fa20608 commit f0b7af5
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/Mahapps.Metro.Tests/TestHelpers/ThemeHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Windows;
using System.Windows.Markup;
using System.Windows.Media;
using System.Xml;
using Newtonsoft.Json;
using XamlColorSchemeGenerator;

Expand Down Expand Up @@ -49,23 +48,6 @@ public static ResourceDictionary CreateTheme(string baseColorScheme, Color accen
return resourceDictionary;
}

public static string GetResourceDictionaryContent(ResourceDictionary resourceDictionary)
{
using (var sw = new StringWriter())
{
using (var writer = XmlWriter.Create(sw, new XmlWriterSettings
{
Indent = true,
IndentChars = " "
}))
{
XamlWriter.Save(resourceDictionary, writer);

return sw.ToString();
}
}
}

/// <summary>
/// Determining Ideal Text Color Based on Specified Background Color
/// http://www.codeproject.com/KB/GDI-plus/IdealTextColor.aspx
Expand Down

0 comments on commit f0b7af5

Please sign in to comment.