C# Class NanoByte.Common.Tasks.SimplePercentTask

Inheritance: TaskBase
ファイルを表示 Open project: nano-byte/common

Public Methods

Method Description
SimplePercentTask ( [ name, [ work, [ cancellationCallback = null ) : System

Creates a new simple task.

Protected Methods

Method Description
Execute ( ) : void

Method Details

Execute() protected method

protected Execute ( ) : void
return void

SimplePercentTask() public method

Creates a new simple task.
public SimplePercentTask ( [ name, [ work, [ cancellationCallback = null ) : System
name [ A name describing the task in human-readable form.
work [ The code to be executed by the task. Is given a callback to report progress in percent. May throw , or .
cancellationCallback [ A callback to be called when cancellation is requested via a .
return System