-
-
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.
allow to install multiple versions of the same packages
- Loading branch information
Showing
4 changed files
with
96 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace Orc.NuGetExplorer.Models; | ||
|
||
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 CancellationToken CancellationToken { 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