16 instantiations of ProjectGraphEntryPoint
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
743
return [new
ProjectGraphEntryPoint
(configuration.ProjectFullPath, globalProperties)];
788
graphEntryPoints.Add(new
ProjectGraphEntryPoint
(projectPath, globalProperties));
Graph\GraphBuilder.cs (1)
349
newEntryPoints.Add(new
ProjectGraphEntryPoint
(project.AbsolutePath, projectGlobalProperties));
Graph\GraphBuildRequestData.cs (2)
72
: this(new
ProjectGraphEntryPoint
(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, BuildRequestDataFlags.None)
85
: this(new
ProjectGraphEntryPoint
(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, flags)
Graph\ProjectGraph.cs (5)
116
: this(new
ProjectGraphEntryPoint
(entryProjectFile).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null)
146
: this(new
ProjectGraphEntryPoint
(entryProjectFile).AsEnumerable(), projectCollection, null)
189
: this(new
ProjectGraphEntryPoint
(entryProjectFile).AsEnumerable(), projectCollection, projectInstanceFactory)
206
: this(new
ProjectGraphEntryPoint
(entryProjectFile, globalProperties).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null)
244
: this(new
ProjectGraphEntryPoint
(entryProjectFile, globalProperties).AsEnumerable(), projectCollection, null)
Graph\ProjectGraphEntryPoint.cs (2)
53
yield return new
ProjectGraphEntryPoint
(entryProjectFile);
61
yield return new
ProjectGraphEntryPoint
(entryProjectFile, globalProperties);
Microsoft.DotNet.HotReload.Watch (1)
Build\ProjectGraphFactory.cs (1)
57
var entryPoints = rootProjects.Select(p => new
ProjectGraphEntryPoint
(p.ProjectGraphPath, buildProperties));
MSBuild (1)
XMake.cs (1)
1775
graphBuildRequest = new GraphBuildRequestData([new
ProjectGraphEntryPoint
(projectFile, globalProperties)], targets, null, flags, graphBuildOptions);
NuGet.Build.Tasks.Console (2)
MSBuildStaticGraphRestore.cs (2)
727
return projectsKnownToMSBuild.Select(i => new
ProjectGraphEntryPoint
(i.AbsolutePath, globalProperties)).ToList();
733
new
ProjectGraphEntryPoint
(entryProjectPath, globalProperties),
49 references to ProjectGraphEntryPoint
Microsoft.Build (44)
BackEnd\Components\ProjectCache\CacheContext.cs (3)
22
public IReadOnlyCollection<
ProjectGraphEntryPoint
>? GraphEntryPoints { get; }
31
IReadOnlyCollection<
ProjectGraphEntryPoint
>? graphEntryPoints = null)
41
IReadOnlyCollection<
ProjectGraphEntryPoint
>? graphEntryPoints = null)
BackEnd\Components\ProjectCache\Experimental\CacheContext.cs (3)
24
public IReadOnlyCollection<
ProjectGraphEntryPoint
>? GraphEntryPoints { get; }
33
IReadOnlyCollection<
ProjectGraphEntryPoint
>? graphEntryPoints = null)
43
IReadOnlyCollection<
ProjectGraphEntryPoint
>? graphEntryPoints = null)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (5)
253
IReadOnlyCollection<
ProjectGraphEntryPoint
>? graphEntryPoints = buildRequestConfiguration != null
713
private IReadOnlyCollection<
ProjectGraphEntryPoint
> GetGraphEntryPoints(BuildRequestConfiguration configuration)
746
static IReadOnlyCollection<
ProjectGraphEntryPoint
> GenerateGraphEntryPointsFromSolutionConfigurationXml(
754
return Array.Empty<
ProjectGraphEntryPoint
>();
757
var graphEntryPoints = new List<
ProjectGraphEntryPoint
>(projectConfigurations.Count);
Graph\GraphBuilder.cs (7)
66
IEnumerable<
ProjectGraphEntryPoint
> entryPoints,
259
private (IReadOnlyCollection<
ProjectGraphEntryPoint
> NewEntryPoints, IReadOnlyDictionary<string, IReadOnlyCollection<string>> SolutionDependencies) ExpandSolutionIfPresent(IReadOnlyCollection<
ProjectGraphEntryPoint
> entryPoints)
276
ProjectGraphEntryPoint
solutionEntryPoint = entryPoints.Single();
323
List<
ProjectGraphEntryPoint
> newEntryPoints = new(projectsInSolution.Count);
419
private static List<ConfigurationMetadata> AddGraphBuildPropertyToEntryPoints(IEnumerable<
ProjectGraphEntryPoint
> entryPoints)
424
foreach (
var
entryPoint in entryPoints)
Graph\GraphBuildRequestData.cs (10)
94
public GraphBuildRequestData(
ProjectGraphEntryPoint
projectGraphEntryPoint, ICollection<string> targetsToBuild)
105
public GraphBuildRequestData(
ProjectGraphEntryPoint
projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices)
117
public GraphBuildRequestData(
ProjectGraphEntryPoint
projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags)
127
public GraphBuildRequestData(IEnumerable<
ProjectGraphEntryPoint
> projectGraphEntryPoints, ICollection<string> targetsToBuild)
138
public GraphBuildRequestData(IEnumerable<
ProjectGraphEntryPoint
> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices)
150
public GraphBuildRequestData(IEnumerable<
ProjectGraphEntryPoint
> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags)
158
public GraphBuildRequestData(IEnumerable<
ProjectGraphEntryPoint
> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions)
188
public IEnumerable<
ProjectGraphEntryPoint
>? ProjectGraphEntryPoints { get; }
207
foreach (
ProjectGraphEntryPoint
entryPoint in ProjectGraphEntryPoints)
225
ProjectGraphEntryPoint
? entryPoint = ProjectGraphEntryPoints?.FirstOrDefault();
Graph\ProjectGraph.cs (11)
34
/// <see cref="
ProjectGraphEntryPoint
" /> instance.
129
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles), ProjectCollection.GlobalProjectCollection, null)
163
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles), projectCollection, null)
223
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles, globalProperties), ProjectCollection.GlobalProjectCollection, null)
265
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles, globalProperties), projectCollection, null)
276
public ProjectGraph(
ProjectGraphEntryPoint
entryPoint)
288
public ProjectGraph(IEnumerable<
ProjectGraphEntryPoint
> entryPoints)
304
public ProjectGraph(
ProjectGraphEntryPoint
entryPoint, ProjectCollection projectCollection)
334
IEnumerable<
ProjectGraphEntryPoint
> entryPoints,
374
IEnumerable<
ProjectGraphEntryPoint
> entryPoints,
418
IEnumerable<
ProjectGraphEntryPoint
> entryPoints,
Graph\ProjectGraphEntryPoint.cs (3)
49
internal static IEnumerable<
ProjectGraphEntryPoint
> CreateEnumerable(IEnumerable<string> entryProjectFiles)
57
internal static IEnumerable<
ProjectGraphEntryPoint
> CreateEnumerable(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties)
65
internal readonly IEnumerable<
ProjectGraphEntryPoint
> AsEnumerable()
Graph\ProjectGraphOptions.cs (2)
36
/// A list of <see cref="
ProjectGraphEntryPoint
" /> objects representing the entry points to use when constructing the graph.
38
public required IEnumerable<
ProjectGraphEntryPoint
> EntryPoints { get; init; }
MSBuild (1)
XMake.cs (1)
1805
ProjectGraphEntryPoint
entryPoint = graphBuildRequest.ProjectGraphEntryPoints.Single();
NuGet.Build.Tasks.Console (4)
MSBuildStaticGraphRestore.cs (4)
706
private List<
ProjectGraphEntryPoint
> GetProjectGraphEntryPoints(string entryProjectPath, IDictionary<string, string> globalProperties)
731
return new List<
ProjectGraphEntryPoint
>
1021
foreach (
var
entryPoint in entryProjects)
1228
IEnumerable<
ProjectGraphEntryPoint
> entryProjects,