public static void UnregisterDataSource([NotNull] string name = "")
{
if (name == null)
{
throw new ArgumentNullException("name");
}
lock (sync)
{
var newDataSources = new Dictionary<string, DataSource>(dataSources);
newDataSources.Remove(name);
dataSources = newDataSources;
}
}