public virtual void OnUIRemoveTracker(object sender, AddingTrackerEventArgs RemovingTrackerEventArgs) => UIRemoveTracker?.Invoke(sender, RemovingTrackerEventArgs);
private void UITracker_UIRemoveTracker(object sender, AddingTrackerEventArgs e) { ServerManagerService.Instance.RemoveByTracker(e.Ti); }
public virtual void OnUIAddTracker(object sender, AddingTrackerEventArgs addingTrackerEventArgs) => UIAddTracker?.Invoke(sender, addingTrackerEventArgs);
private void UITracker_UIAddTracker(object sender, AddingTrackerEventArgs e) { TrackersClientService.Instance.AddTracker(e.Ti); }