Пример #1
0
 public static EventNotReceivedException Timeout(Type eventType, EventNotReceivedReason reason)
 {
     return(new EventNotReceivedException(eventType, reason, $"Debugger didn't receive {eventType.Name} within allotted time."));
 }
Пример #2
0
 public static EventNotReceivedException Stopped(Type eventType, EventNotReceivedReason reason)
 {
     return(new EventNotReceivedException(eventType, reason, $"Debugger didn't receive {eventType.Name} within allotted time but already got a stop event."));
 }
Пример #3
0
 private EventNotReceivedException(Type eventType, EventNotReceivedReason reason, string message)
     : base(message)
 {
     EventType = eventType;
     Reason    = reason;
 }