Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Bamboo
Prevalence
AlarmClock
PauseAt
Bamboo.Prevalence.AlarmClock.PauseAt C# (CSharp) Method
AlarmClock Class Documentation
Mostrar archivo
Open project: bamboo/Bamboo.Prevalence
PauseAt()
public
method
This method can be used for testing date sensitive code.
You should not call this method in production code. It's meant to be used in test cases only.
public
PauseAt
(
System.DateTime
date
) :
void
date
System.DateTime
the specific date/time value the clock should be set to, /// this will be the value returned by
return
void
public void PauseAt(DateTime date) { _paused = true; _now = date; } }
AlarmClock
AlarmClock
Pause
PauseAt
Recover
Resume