Ejemplo n.º 1
0
 internal SellShipOnRebuyEvent InvokeEvent(SellShipOnRebuyEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         SellShipOnRebuy?.Invoke(_api, arg);
     }
     return(arg);
 }
Ejemplo n.º 2
0
 private static void AssertEvent(SellShipOnRebuyEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2017-07-20T08:56:39Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal("Dolphin", @event.ShipType);
     Assert.Equal(ShipModel.Dolphin, @event.ShipModel);
     Assert.Equal("Shinrarta Dezhra", @event.System);
     Assert.Equal(4, @event.SellShipId);
     Assert.Equal(4110183, @event.ShipPrice);
 }
Ejemplo n.º 3
0
 internal void InvokeSellShipOnRebuyEvent(SellShipOnRebuyEvent arg)
 {
     SellShipOnRebuyEvent?.Invoke(this, arg);
 }