示例#1
0
 internal EventCanceller(EventExecutor executor)
 {
     _executor    = executor;
     _tokenSource = new CancellationTokenSource();
 }
示例#2
0
 public static async Task AddEvent(IEvent @event)
 {
     var executor = new EventExecutor(@event);
     await executor.StartEvent();
 }