internal DataScannedEvent InvokeEvent(DataScannedEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         DataScanned?.Invoke(_api, arg);
     }
     return(arg);
 }
 private void AssertEvent(DataScannedEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2019-09-11T12:57:40Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal("$Datascan_AbandonedDataLog;", @event.Type);
     Assert.Equal("Брошенный журнал данных", @event.TypeLocalised);
 }
예제 #3
0
 internal void InvokeDataScannedEvent(DataScannedEvent arg)
 {
     DataScannedEvent?.Invoke(this, arg);
 }
예제 #4
0
 internal void InvokeDataScannedEvent(DataScannedEvent arg) => DataScannedEvent?.Invoke(null, arg);