internal BuyTradeDataEvent InvokeEvent(BuyTradeDataEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         BuyTradeData?.Invoke(_api, arg);
     }
     return(arg);
 }
 private void AssertEvent(BuyTradeDataEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2016-06-10T14:32:03Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal("i Bootis", @event.System);
     Assert.Equal(100, @event.Cost);
 }
Beispiel #3
0
 internal void InvokeBuyTradeDataEvent(BuyTradeDataEvent arg)
 {
     BuyTradeDataEvent?.Invoke(this, arg);
 }
Beispiel #4
0
 internal void InvokeBuyTradeDataEvent(BuyTradeDataEvent arg) => BuyTradeDataEvent?.Invoke(null, arg);