using System;
using System.Collections.Generic;
+using System.Collections.ObjectModel;
using NaGet.Packages;
using NaGet.Packages.Install;
using NaGet.SubCommands;
/// <param name="installations">インストール処理の配列</param>
public NaGetDownloadToCache2(PackageListsManager pkgMan, IList<Installation> insts)
{
- installations = insts;
+ installations = new ReadOnlyCollection<Installation>(insts);
scanner = new DownloadScannerService();
scanner.Init();