private void AssertEvent(ClearSavedGameEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2016-06-10T14:32:03Z"), @event.Timestamp);
     Assert.Equal("ClearSavedGame", @event.Event);
     Assert.Equal("HRC1", @event.Name);
     Assert.Equal("F44396", @event.FrontierId);
 }
예제 #2
0
 internal ClearSavedGameEvent InvokeEvent(ClearSavedGameEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         ClearSavedGame?.Invoke(_api, arg);
     }
     return(arg);
 }
예제 #3
0
 internal void InvokeClearSavedGameEvent(ClearSavedGameEvent arg)
 {
     ClearSavedGameEvent?.Invoke(this, arg);
 }
예제 #4
0
 internal void InvokeClearSavedGameEvent(ClearSavedGameEvent arg) => ClearSavedGameEvent?.Invoke(null, arg);