Exemplo n.º 1
0
 public DelaySendEnvelope(TimePosition at, IMessage toSend)
 {
     MsgId  = Guid.NewGuid();
     At     = at;
     ToSend = toSend;
 }
Exemplo n.º 2
0
 public void WaitFor(TimePosition position, ManualResetEventSlim cancel)
 {
     cancel.Wait(Now().DistanceUntil(position));
 }
 public DelaySendEnvelope(TimePosition at, Message toSend)
 {
     At     = at;
     ToSend = toSend;
 }