Пример #1
0
 public void AddNuGetPackage(string name, string version, string allowedVersions)
 {
     if (_nuGetPackages.All(n => n.Name != name))
     {
         _nuGetPackages.Add(new NuGetPackage(name, version, allowedVersions, KnownAssemblyNames.Get(name, version)));
     }
 }
 public void AddNuGetPackage(string name, string version)
 {
     _nuGetPackages.Add(new NuGetPackage(name, version, KnownAssemblyNames.Get(name, version)));
 }