Method | Description | |
---|---|---|
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.
|
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. /// |
return | System.Boolean |
public static IsDirectoryEmpty ( string path ) : System.Boolean | ||
path | string | The path of the directory to be checked. |
return | System.Boolean |