public static SupportedFileInfo GetSupportedFileInfo(string extension)
 {
     return(SupportedFileInfos.Single(x => x.Extensions.Contains(extension, StringComparer.InvariantCultureIgnoreCase)));
 }
 public static SupportedFileInfo GetSupportedFileInfo(SupportedFileType type)
 {
     return(SupportedFileInfos.Single(x => x.EnumType == type));
 }