Esempio n. 1
0
 public CommandCapturer(EventCapturer parent)
 {
     _parent = parent;
 }
 public EventNotifier(EventCapturer eventCapturer, Func <IEnumerable <object>, bool> condition)
 {
     _eventCapturer        = Ensure.IsNotNull(eventCapturer, nameof(eventCapturer));
     _condition            = Ensure.IsNotNull(condition, nameof(condition));
     _taskCompletionSource = new TaskCompletionSource <bool>();
 }