public void Disconnect(ProviderService connection) { lock (m_syncRoot) { m_connections.Remove(connection); } }
public void AddConnection(ProviderService connection) { lock (m_syncRoot) { m_connections.Add(connection); } }