-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #891 from WildGums/feature/allow_multiple_versions
allow to install multiple versions of the same packages
- Loading branch information
Showing
5 changed files
with
94 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Orc.NuGetExplorer; | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using NuGet.Packaging.Core; | ||
using NuGet.Protocol.Core.Types; | ||
|
||
public class InstallationContext | ||
{ | ||
public required PackageIdentity Package { get; set; } | ||
public required IExtensibleProject Project { get; set; } | ||
public required IReadOnlyList<SourceRepository> Repositories { get; set; } | ||
public bool IgnoreMissingPackages { get; set; } | ||
public Func<PackageIdentity, bool>? PackagePredicate { get; set; } | ||
public bool AllowMultipleVersions { get; set; } = false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters