コード例 #1
0
 public virtual void OnUIRemoveTracker(object sender, AddingTrackerEventArgs RemovingTrackerEventArgs)
 => UIRemoveTracker?.Invoke(sender, RemovingTrackerEventArgs);
コード例 #2
0
 private void UITracker_UIRemoveTracker(object sender, AddingTrackerEventArgs e)
 {
     ServerManagerService.Instance.RemoveByTracker(e.Ti);
 }
コード例 #3
0
 public virtual void OnUIAddTracker(object sender, AddingTrackerEventArgs addingTrackerEventArgs)
 => UIAddTracker?.Invoke(sender, addingTrackerEventArgs);
コード例 #4
0
 private void UITracker_UIAddTracker(object sender, AddingTrackerEventArgs e)
 {
     TrackersClientService.Instance.AddTracker(e.Ti);
 }