C# Класс Achilles.Acme.Storage.Azure.FileNameHelpers

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

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

Метод Описание
AppendDirTag ( string sDirName ) : string

append the final '/' char in the directory name (if not exists)

GetDirectory ( string sFileName ) : string

Get the directory path of the specified file

GetDirectoryName ( string dirPath ) : string

Get the directory name of the specified directory

GetFileName ( string filePath ) : string

Get the fileName of the specified file

IsValid ( string sFileName ) : bool

Check if a blobname(blob or virtual directory) is valid

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

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

append the final '/' char in the directory name (if not exists)
public static AppendDirTag ( string sDirName ) : string
sDirName string directory name
Результат string

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

Get the directory path of the specified file
public static GetDirectory ( string sFileName ) : string
sFileName string file name, absolute path
Результат string

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

Get the directory name of the specified directory
public static GetDirectoryName ( string dirPath ) : string
dirPath string directory absolute path
Результат string

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

Get the fileName of the specified file
public static GetFileName ( string filePath ) : string
filePath string file name, absolute path
Результат string

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

Check if a blobname(blob or virtual directory) is valid
public static IsValid ( string sFileName ) : bool
sFileName string blob name
Результат bool