C# Class Hardly.TimerBase

Afficher le fichier Open project: hardlydifficult/HardlyBot

Protected Properties

Свойство Type Description
startTime System.DateTime
timer System.Timers.Timer

Méthodes publiques

Méthode Description
Interval ( ) : TimeSpan
IsRunning ( ) : bool
Start ( ) : void
Stop ( ) : void
TimeRemaining ( ) : TimeSpan
TimerBase ( TimeSpan timeSpan ) : System

Method Details

Interval() public méthode

public Interval ( ) : TimeSpan
Résultat TimeSpan

IsRunning() public méthode

public IsRunning ( ) : bool
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

TimeRemaining() public méthode

public TimeRemaining ( ) : TimeSpan
Résultat TimeSpan

TimerBase() public méthode

public TimerBase ( TimeSpan timeSpan ) : System
timeSpan TimeSpan
Résultat System

Property Details

startTime protected_oe property

protected DateTime,System startTime
Résultat System.DateTime

timer protected_oe property

protected Timer,System.Timers timer
Résultat System.Timers.Timer