Метод | Описание | |
---|---|---|
Create ( ) : Directory |
Creates the folder
|
|
Create ( OnError onError ) : Directory |
Creates the folder
|
|
Delete ( ) : Directory |
Deletes the folder. If the the folder can not be deleted, or does not exist then an exception is thrown.
|
|
Delete ( OnError onError ) : Directory |
Deletes the folder.
|
|
Directory ( string path ) : System.IO |
Creates a new Directory object
|
|
File ( string name ) : File |
Appends a filename onto the Directory
|
|
Files ( ) : Core.FileSet |
Gets all files in a directory
|
|
Files ( string filter ) : Core.FileSet |
Creates a fileset based on a filter
|
|
SubFolder ( string path ) : Directory |
Creates a new Directory object for a subdirectory The folder does not need to exist to use this method |
|
ToString ( ) : string |
Provides the current path internal to the Directory object
|
Метод | Описание | |
---|---|---|
Directory ( IFileSystemWrapper fileSystemWrapper, IFileSetFactory fileSetFactory, string path ) : System.IO |
public Create ( OnError onError ) : Directory | ||
onError | OnError | Allows you to set the error behavior |
Результат | Directory |
public Delete ( OnError onError ) : Directory | ||
onError | OnError | Sets the behavior of how to handle an error |
Результат | Directory |
public Directory ( string path ) : System.IO | ||
path | string | Path to the folder |
Результат | System.IO |
public File ( string name ) : File | ||
name | string | The name (or filter) of the file |
Результат | File |
public Files ( string filter ) : Core.FileSet | ||
filter | string | A filter that can contain wildcards |
Результат | Core.FileSet |
public SubFolder ( string path ) : Directory | ||
path | string | The subfolder below the current Directory |
Результат | Directory |