C# 클래스 TVSorter.Wrappers.FileInfoWrap

Wrapper for the FileInfo class.
상속: IFileInfo
파일 보기 프로젝트 열기: a-jackson/tvsorter 1 사용 예제들

공개 메소드들

메소드 설명
CopyTo ( string destFileName ) : IFileInfo

Copies the file to the specified location.

Delete ( ) : void

Deletes the file.

FileInfoWrap ( FileInfo fileInfo ) : System.IO

Initializes a new instance of the FileInfoWrap class.

FileInfoWrap ( string fileName ) : System.IO

Initializes a new instance of the FileInfoWrap class.

MoveTo ( string destFileName ) : void

Moves the file to the specfied location.

ToString ( ) : string

Returns a string that represents the current object.

WriteAllText ( string text ) : void

Writes all the specified text into the file, creating it if it doesn't exist.

비공개 메소드들

메소드 설명
ConvertFileInfoToIFileInfoArray ( FileInfo fileInfos ) : IFileInfo[]

Converts a FileInfo array into an IFileInfo array.

메소드 상세

CopyTo() 공개 메소드

Copies the file to the specified location.
public CopyTo ( string destFileName ) : IFileInfo
destFileName string /// The destination to copy to. ///
리턴 IFileInfo

Delete() 공개 메소드

Deletes the file.
public Delete ( ) : void
리턴 void

FileInfoWrap() 공개 메소드

Initializes a new instance of the FileInfoWrap class.
public FileInfoWrap ( FileInfo fileInfo ) : System.IO
fileInfo System.IO.FileInfo /// The file info. ///
리턴 System.IO

FileInfoWrap() 공개 메소드

Initializes a new instance of the FileInfoWrap class.
public FileInfoWrap ( string fileName ) : System.IO
fileName string /// The file name. ///
리턴 System.IO

MoveTo() 공개 메소드

Moves the file to the specfied location.
public MoveTo ( string destFileName ) : void
destFileName string /// The destination to move to. ///
리턴 void

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string

WriteAllText() 공개 메소드

Writes all the specified text into the file, creating it if it doesn't exist.
public WriteAllText ( string text ) : void
text string /// The text to write. ///
리턴 void