@@ -16,20 +16,20 @@ public class EnumDisplayer : IValueConverter
1616 private Type type ;
1717 private IDictionary displayValues ;
1818 private IDictionary reverseValues ;
19- private static Dictionary < string , string > overriddenDisplayEntries = new Dictionary < string , string >
19+ private static Dictionary < string , string > overriddenDisplayEntries = new ( )
2020 {
2121 { "Off" , EnumsRes . Off } ,
2222 { "Default" , EnumsRes . Default } ,
2323 { "Custom" , EnumsRes . Custom } ,
2424 } ;
25- private static Dictionary < string , string > resourceAliases = new Dictionary < string , string >
25+ private static Dictionary < string , string > resourceAliases = new ( )
2626 {
2727 { "VCAnamorphic" , "Anamorphic" } ,
2828 { "VCDeinterlace" , "Deinterlace" } ,
2929 { "VCDecomb" , "Decomb" } ,
3030 } ;
3131
32- private static ResourceManager enumResourceManager = new ResourceManager ( typeof ( EnumsRes ) ) ;
32+ private static ResourceManager enumResourceManager = new ( typeof ( EnumsRes ) ) ;
3333
3434 public EnumDisplayer ( )
3535 {
@@ -107,7 +107,7 @@ private string GetAttributeDisplayString(DisplayAttribute[] attributes)
107107 DisplayAttribute displayAttribute = attributes [ 0 ] ;
108108 if ( displayAttribute . ResourceType != null )
109109 {
110- ResourceManager resourceManager = new ResourceManager ( displayAttribute . ResourceType ) ;
110+ ResourceManager resourceManager = new ( displayAttribute . ResourceType ) ;
111111 return resourceManager . GetString ( displayAttribute . Name ) ;
112112 }
113113
0 commit comments