C# Class Hardly.TimerBase

Datei anzeigen Open project: hardlydifficult/HardlyBot

Protected Properties

Property Type Description
startTime System.DateTime
timer System.Timers.Timer

Public Methods

Method Description
Interval ( ) : TimeSpan
IsRunning ( ) : bool
Start ( ) : void
Stop ( ) : void
TimeRemaining ( ) : TimeSpan
TimerBase ( TimeSpan timeSpan ) : System

Method Details

Interval() public method

public Interval ( ) : TimeSpan
return TimeSpan

IsRunning() public method

public IsRunning ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

TimeRemaining() public method

public TimeRemaining ( ) : TimeSpan
return TimeSpan

TimerBase() public method

public TimerBase ( TimeSpan timeSpan ) : System
timeSpan TimeSpan
return System

Property Details

startTime protected_oe property

protected DateTime,System startTime
return System.DateTime

timer protected_oe property

protected Timer,System.Timers timer
return System.Timers.Timer