Example #1
0
 public void Delete(uint viewerId)
 {
     if (ContainsKey(viewerId))
     {
         Viewer viewer = this[viewerId];
         viewer.PropertyChanged -= OnViewerPropertyChanged;
         viewer.Dispose();
         Remove(viewerId);
         ViewerRemoved?.Invoke(viewer);
     }
 }
Example #2
0
 public void Delete(IPanoramaViewer panoramaViewer)
 {
     if (ContainsKey(panoramaViewer))
     {
         Viewer viewer = this[panoramaViewer];
         viewer.PropertyChanged -= OnViewerPropertyChanged;
         viewer.Dispose();
         Remove(panoramaViewer);
         ViewerRemoved?.Invoke(viewer);
     }
 }
Example #3
0
 public void InvokeViewerRemoved(string viewerID)
 {
     ViewerRemoved?.Invoke(null, viewerID);
 }
Example #4
0
 internal void InvokeViewerRemoved(string viewerID)
 {
     ViewerRemoved?.Invoke(null, viewerID);
 }