public static void DumpResourceDictionary(TextWriter writer, ResourceDictionary rd, string indent = "") { var source = rd.Source; if (source != null) { writer.WriteLine(indent + source + " (" + rd.GetType().FullName + ") # " + rd.GetHashCode()); indent += " "; } foreach (var child in rd.MergedDictionaries) { DumpResourceDictionary(writer, child, indent); } }
public override int GetHashCode() { return(ResourceDictionary.GetHashCode()); }