Method | Description | |
---|---|---|
Create ( ) : void |
Creates the directory.
|
|
CreateFile ( string name ) : IFileInfo |
Creates a file under this directory.
|
|
Delete ( bool recursive ) : void |
Deletes the directory.
|
|
DirectoryInfoWrap ( |
Initializes a new instance of the DirectoryInfoWrap class.
|
|
DirectoryInfoWrap ( string path ) : System.IO |
Initializes a new instance of the DirectoryInfoWrap class.
|
|
GetDirectories ( ) : IDirectoryInfo[] |
Gets the sub directories of this directory.
|
|
GetFile ( string outputPath ) : IFileInfo |
Gets a sub file of the directory at the specified path.
|
|
GetFiles ( ) : IFileInfo[] |
Gets the files of this directory.
|
|
ToString ( ) : string |
Returns a string that represents the current object.
|
Method | Description | |
---|---|---|
ConvertDirectoryInfoToIDirectoryInfo ( |
Converts an array of DirectoryInfo into an array of IDirectoryInfo.
|
public CreateFile ( string name ) : IFileInfo | ||
name | string | /// The name of the file to create. /// |
return | IFileInfo |
public Delete ( bool recursive ) : void | ||
recursive | bool | /// A value indicating whether the deletion should be recursive. /// |
return | void |
public DirectoryInfoWrap ( |
||
directoryInfo | /// The directory info. /// | |
return | System.IO |
public DirectoryInfoWrap ( string path ) : System.IO | ||
path | string | /// The path. /// |
return | System.IO |
public GetFile ( string outputPath ) : IFileInfo | ||
outputPath | string | /// The path toget the file for. /// |
return | IFileInfo |