示例#1
0
 internal CommunityGoalDiscardEvent InvokeEvent(CommunityGoalDiscardEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         CommunityGoalDiscard?.Invoke(_api, arg);
     }
     return(arg);
 }
 private static void AssertEvent(CommunityGoalDiscardEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2017-08-14T13:20:28Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal(726, @event.GoalId);
     Assert.Equal("Alliance Research Initiative – Trade", @event.Name);
     Assert.Equal("Kaushpoos", @event.System);
 }
示例#3
0
 internal void InvokeCommunityGoalDiscardEvent(CommunityGoalDiscardEvent arg)
 {
     CommunityGoalDiscardEvent?.Invoke(this, arg);
 }
示例#4
0
 internal void InvokeCommunityGoalDiscard(CommunityGoalDiscardEvent arg) => CommunityGoalDiscardEvent?.Invoke(null, arg);