C# Class Brunet.Simulator.Tasks.Task

Mostrar archivo Open project: pstjuste/brunet

Protected Properties

Property Type Description
_done bool
_finished EventHandler
_start System.DateTime
_time_taken System.TimeSpan

Public Methods

Method Description
Run ( int time ) : void
Start ( ) : void
Task ( EventHandler finished ) : System

Create a new task. finished is called when the task completes.

Protected Methods

Method Description
Finished ( ) : void

Method Details

Finished() protected method

protected Finished ( ) : void
return void

Run() public method

public Run ( int time ) : void
time int
return void

Start() public method

public Start ( ) : void
return void

Task() public method

Create a new task. finished is called when the task completes.
public Task ( EventHandler finished ) : System
finished EventHandler
return System

Property Details

_done protected_oe property

protected bool _done
return bool

_finished protected_oe property

protected EventHandler _finished
return EventHandler

_start protected_oe property

protected DateTime,System _start
return System.DateTime

_time_taken protected_oe property

protected TimeSpan,System _time_taken
return System.TimeSpan