AvalonStudio.Controls.PackageManagerDialogViewModel.DownloadCatalog C# (CSharp) Method

DownloadCatalog() private method

private DownloadCatalog ( ) : void
return void
		private async void DownloadCatalog()
		{
			foreach (var packageSource in PackageSources.Instance.Sources)
			{
				Repository repo = null;

				await Task.Factory.StartNew(() => repo = packageSource.DownloadCatalog());

				if (repo != null)
				{
					AddPackages(repo);
				}
			}
		}