private void AssertEvent(WingAddEvent @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.Name);
 }
示例#2
0
 internal WingAddEvent InvokeEvent(WingAddEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         WingAdd?.Invoke(_api, arg);
     }
     return(arg);
 }
示例#3
0
 internal void InvokeWingAddEvent(WingAddEvent arg)
 {
     WingAddEvent?.Invoke(this, arg);
 }
示例#4
0
 internal void InvokeWingAddEvent(WingAddEvent arg) => WingAddEvent?.Invoke(null, arg);