-
Notifications
You must be signed in to change notification settings - Fork 753
Expand file tree
/
Copy pathIRestoreTargetGraph.cs
More file actions
63 lines (47 loc) · 1.94 KB
/
IRestoreTargetGraph.cs
File metadata and controls
63 lines (47 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using NuGet.Client;
using NuGet.DependencyResolver;
using NuGet.Frameworks;
using NuGet.LibraryModel;
using NuGet.RuntimeModel;
namespace NuGet.Commands
{
public interface IRestoreTargetGraph
{
string TargetGraphNameWithAlias { get; }
string TargetGraphName { get; }
/// <summary>
/// Gets the target alias used during the restore operation on this graph
/// </summary>
public string TargetAlias { get; }
/// <summary>
/// Gets the runtime identifier used during the restore operation on this graph
/// </summary>
string RuntimeIdentifier { get; }
/// <summary>
/// Gets the <see cref="NuGetFramework" /> used during the restore operation on this graph
/// </summary>
NuGetFramework Framework { get; }
/// <summary>
/// Gets the <see cref="ManagedCodeConventions" /> used to resolve assets from packages in this graph
/// </summary>
ManagedCodeConventions Conventions { get; }
/// <summary>
/// Gets the <see cref="RuntimeGraph" /> that defines runtimes and their relationships for this graph
/// </summary>
RuntimeGraph RuntimeGraph { get; }
/// <summary>
/// Gets the resolved dependency graph
/// </summary>
IEnumerable<GraphNode<RemoteResolveResult>> Graphs { get; }
ISet<RemoteMatch> Install { get; }
ISet<GraphItem<RemoteResolveResult>> Flattened { get; }
ISet<LibraryRange> Unresolved { get; }
bool InConflict { get; }
IEnumerable<ResolverConflict> Conflicts { get; }
AnalyzeResult<RemoteResolveResult> AnalyzeResult { get; }
ISet<ResolvedDependencyKey> ResolvedDependencies { get; }
}
}