コード例 #1
0
 public DateTime Pulse(DateTime?pulseDateTime = null)
 {
     pulseDateTime = pulseDateTime ?? DateTime.Now;
     FireEvent(RunOnceDateTime.ToEpoch());
     return(pulseDateTime.Value);
 }
コード例 #2
0
 public void RunOnce()
 {
     FireEvent(RunOnceDateTime.ToEpoch());
     RunOnceCalled = true;
 }