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); }
internal void InvokeDataScannedEvent(DataScannedEvent arg) { DataScannedEvent?.Invoke(this, arg); }
internal void InvokeDataScannedEvent(DataScannedEvent arg) => DataScannedEvent?.Invoke(null, arg);