C# 클래스 Mckineap.Utilities.FileOperations

Provides many File operations within Mckineap.
파일 보기 프로젝트 열기: loic-lavergne/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