C# Класс CmisSync.Lib.Storage.FileSystem.DirectoryInfoWrapper

Wrapper for DirectoryInfo
Наследование: FileSystemInfoWrapper, IDirectoryInfo
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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