Esempio n. 1
0
 /// <summary>
 /// Возвращает строку для фильтра по расширениям для конкретного типа
 /// </summary>
 /// <returns></returns>
 public static string GetTypeExtensions(FolderFileType type) => fileExtensionsDictionary[type];
Esempio n. 2
0
 private static QPSelectListItem GetFileTypeListItem(FolderFileType type) => new QPSelectListItem
 {
     Text  = FolderFile.GetTypeName(type),
     Value = ((int)type).ToString()
 };
Esempio n. 3
0
 /// <summary>
 /// Возвращает имя типа файла по типу
 /// </summary>
 /// <param name="type">тип файла</param>
 /// <returns>имя типа</returns>
 public static string GetTypeName(FolderFileType type) => fileTypeNameDictionary[type];