C# Класс mobSocial.Data.Helpers.PathUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
GetFileExtensionFromContentType ( string contentType ) : string
GetFileSavePath ( string directoryPath, string fileName, bool overwrite = false ) : string

Gets a file path that's safe to write to file system

Описание методов

GetFileExtensionFromContentType() публичный статический Метод

public static GetFileExtensionFromContentType ( string contentType ) : string
contentType string
Результат string

GetFileSavePath() публичный статический Метод

Gets a file path that's safe to write to file system
public static GetFileSavePath ( string directoryPath, string fileName, bool overwrite = false ) : string
directoryPath string
fileName string
overwrite bool
Результат string