C# 클래스 CmisSync.Lib.Storage.FileSystem.DirectoryInfoWrapper

Wrapper for DirectoryInfo
상속: FileSystemInfoWrapper, IDirectoryInfo
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
Create ( ) : void

Passes the Create call to the original instance.

Delete ( bool recursive ) : void

Passes the Delete call to the originial instance.

DirectoryInfoWrapper ( DirectoryInfo directoryInfo ) : System.IO

Initializes a new instance of the CmisSync.Lib.Storage.FileSystem.DirectoryInfoWrapper class. Uses the given real instance and passes every future call to this instance.

GetDirectories ( ) : IDirectoryInfo[]

Gets the directories of the original instance wrapped by new DirectoryInfoWrapper instances.

GetFiles ( ) : IFileInfo[]

Gets the files of the original instance wrapped by new FileInfoWrapper instances.

MoveTo ( string destDirName ) : void

Moves the directory to the destination directory path by using the original instance.

ToString ( ) : string

Returns a System.String that represents the current CmisSync.Lib.Storage.FileSystem.DirectoryInfoWrapper.

메소드 상세

Create() 공개 메소드

Passes the Create call to the original instance.
public Create ( ) : void
리턴 void

Delete() 공개 메소드

Passes the Delete call to the originial instance.
public Delete ( bool recursive ) : void
recursive bool If set to true recursive.
리턴 void

DirectoryInfoWrapper() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Storage.FileSystem.DirectoryInfoWrapper class. Uses the given real instance and passes every future call to this instance.
public DirectoryInfoWrapper ( DirectoryInfo directoryInfo ) : System.IO
directoryInfo System.IO.DirectoryInfo Directory info.
리턴 System.IO

GetDirectories() 공개 메소드

Gets the directories of the original instance wrapped by new DirectoryInfoWrapper instances.
public GetDirectories ( ) : IDirectoryInfo[]
리턴 IDirectoryInfo[]

GetFiles() 공개 메소드

Gets the files of the original instance wrapped by new FileInfoWrapper instances.
public GetFiles ( ) : IFileInfo[]
리턴 IFileInfo[]

MoveTo() 공개 메소드

Moves the directory to the destination directory path by using the original instance.
public MoveTo ( string destDirName ) : void
destDirName string Destination directory path.
리턴 void

ToString() 공개 메소드

Returns a System.String that represents the current CmisSync.Lib.Storage.FileSystem.DirectoryInfoWrapper.
public ToString ( ) : string
리턴 string