public void UpdatePosition(string Projection, double North, double East, double Altitude) { Position = new GPSPosition(Projection, North, East, Altitude); PositionUpdatedEvent?.Invoke(Position); UpdatedEvent?.Invoke(); }
public async Task UpdateAsync(params T[] items) { Throw.IfNullOrEmpty(() => items); await _dataProviderWrapper.UpdateAsync(items); UpdatedEvent?.Invoke(items); }
protected override void Append(log4net.Core.LoggingEvent loggingEvent) { // Append the event as usual base.Append(loggingEvent); // Then alert the Updated event that an event has occurred Updated?.Invoke(this, loggingEvent.RenderedMessage); UpdatedEvent?.Invoke(this, loggingEvent); }
private void OnUpdatedEvent() { if (_groups.Any(g => !g.Updated)) { return; } UpdatedEvent?.Invoke(); }
private void OnUpdatedEvent() { if (tags.Any(t => !t.Updated)) { return; } Updated = true; UpdatedEvent?.Invoke(); }
public override void WriteLine(string format, params object[] arg) { UpdatedEvent?.Invoke(); base.WriteLine(format, arg); }
public override void WriteLine(string format, object arg0, object arg1, object arg2) { UpdatedEvent?.Invoke(); base.WriteLine(format, arg0, arg1, arg2); }
public override void WriteLine(string value) { UpdatedEvent?.Invoke(); base.WriteLine(value); }
public override void WriteLine() { UpdatedEvent?.Invoke(); base.WriteLine(); }
public void OnUpdated() { UpdatedEvent?.Invoke(); }