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); } }
public void RemoveSinkManager(SinkManager manager) { CheckThread(); _managers.Remove(manager); }
public void AddSinkManager(SinkManager manager) { _managers.Add(manager); }