Свойство | Тип | Описание | |
---|---|---|---|
progress | int | ||
taskInterface | ITaskInterface |
Метод | Описание | |
---|---|---|
ConfigurationDialog ( ) : bool |
Display a configuration dialog. Return false if the operation should be cancelled.
|
|
Copy ( string from, string to ) : void | ||
CreateDirectory ( string dir ) : void | ||
CreateParentDirectory ( string path ) : void | ||
Failed ( ) : bool |
Will prevent successive tasks from executing and cause FinishedDialog to be called
|
|
FinishedDialog ( ) : void |
Called to display a finished dialog if Failures() || warnings are not supressed and Warnings()
|
|
RelPath ( string basePath, string path ) : string | ||
Run ( ) : void |
Run the task, any exceptions thrown will be written to a log file and update the status label with the exception message
|
|
StartupWarning ( ) : bool |
Display a startup warning dialog
|
|
Warnings ( ) : bool |
Will cause FinishedDialog to be called if warnings are not supressed
|
Метод | Описание | |
---|---|---|
ExecuteParallel ( List |
||
Task ( ITaskInterface taskInterface ) : System |
public static Copy ( string from, string to ) : void | ||
from | string | |
to | string | |
Результат | void |
public static CreateDirectory ( string dir ) : void | ||
dir | string | |
Результат | void |
public static CreateParentDirectory ( string path ) : void | ||
path | string | |
Результат | void |
protected ExecuteParallel ( List |
||
items | List |
|
resetProgress | bool | |
maxDegree | int | |
Результат | void |
public static RelPath ( string basePath, string path ) : string | ||
basePath | string | |
path | string | |
Результат | string |
protected Task ( ITaskInterface taskInterface ) : System | ||
taskInterface | ITaskInterface | |
Результат | System |