コード例 #1
0
 public void RemoveSinkManager(SinkManager manager)
 {
     // This call can, in theory, happen from any thread so be appropriately thread safe.
     // In practice, it will probably be called only once from the UI thread (by the error list tool window).
     lock (_managers)
     {
         _managers.Remove(manager);
     }
 }
コード例 #2
0
ファイル: TableDataSource.cs プロジェクト: upta/WebAnalyzer
 public void RemoveSinkManager(SinkManager manager)
 {
     // This call can, in theory, happen from any thread so be appropriately thread safe.
     // In practice, it will probably be called only once from the UI thread (by the error list tool window).
     lock (_managers)
     {
         _managers.Remove(manager);
     }
 }
コード例 #3
0
 public void RemoveSinkManager(SinkManager manager)
 {
     CheckThread();
     _managers.Remove(manager);
 }
コード例 #4
0
 public void AddSinkManager(SinkManager manager)
 {
     _managers.Add(manager);
 }