private void AssertEvent(WingJoinEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2016-06-10T14:32:03Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal("HRC-2", @event.Others[0]);
 }
Пример #2
0
 internal WingJoinEvent InvokeEvent(WingJoinEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         WingJoin?.Invoke(_api, arg);
     }
     return(arg);
 }
Пример #3
0
 internal void InvokeWingJoinEvent(WingJoinEvent arg)
 {
     WingJoinEvent?.Invoke(this, arg);
 }
Пример #4
0
 internal void InvokeWingJoinEvent(WingJoinEvent arg) => WingJoinEvent?.Invoke(null, arg);