C# Класс Mckineap.Utilities.FileOperations

Provides many File operations within Mckineap.
Показать файл Открыть проект

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

Метод Описание
FileHasExtension ( String file, String extension ) : System.Boolean

Determines whether the file has the given extension.

IsDirectoryEmpty ( string path ) : System.Boolean

Checks whether the directory is empty.

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

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

Determines whether the file has the given extension.
public static FileHasExtension ( String file, String extension ) : System.Boolean
file String The file to check.
extension String /// The extension to retrieve in the file.
/// The extension doesn't need to contain the extension dot. ///
Результат System.Boolean

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

Checks whether the directory is empty.
public static IsDirectoryEmpty ( string path ) : System.Boolean
path string The path of the directory to be checked.
Результат System.Boolean