C# Class CmisSync.Lib.Storage.FileSystem.DirectoryInfoWrapper

Wrapper for DirectoryInfo
Inheritance: FileSystemInfoWrapper, IDirectoryInfo
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Create() public méthode

Passes the Create call to the original instance.
public Create ( ) : void
Résultat void

Delete() public méthode

Passes the Delete call to the originial instance.
public Delete ( bool recursive ) : void
recursive bool If set to true recursive.
Résultat void

DirectoryInfoWrapper() public méthode

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.
Résultat System.IO

GetDirectories() public méthode

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

GetFiles() public méthode

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

MoveTo() public méthode

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

ToString() public méthode

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