16 instantiations of ProjectGraphEntryPoint
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
756
return [new
ProjectGraphEntryPoint
(configuration.ProjectFullPath, globalProperties)];
801
graphEntryPoints.Add(new
ProjectGraphEntryPoint
(projectPath, globalProperties));
Graph\GraphBuilder.cs (1)
357
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)
117
: this(new
ProjectGraphEntryPoint
(entryProjectFile).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null)
147
: this(new
ProjectGraphEntryPoint
(entryProjectFile).AsEnumerable(), projectCollection, null)
190
: this(new
ProjectGraphEntryPoint
(entryProjectFile).AsEnumerable(), projectCollection, projectInstanceFactory)
207
: this(new
ProjectGraphEntryPoint
(entryProjectFile, globalProperties).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null)
245
: 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)
58
var entryPoints = rootProjects.Select(p => new
ProjectGraphEntryPoint
(p.ProjectGraphPath, buildProperties));
MSBuild (1)
XMake.cs (1)
1987
graphBuildRequest = new GraphBuildRequestData([new
ProjectGraphEntryPoint
(projectFile, globalProperties)], targets, null, flags, graphBuildOptions);
NuGet.Build.Tasks.Console (2)
MSBuildStaticGraphRestore.cs (2)
734
return projectsKnownToMSBuild.Select(i => new
ProjectGraphEntryPoint
(i.AbsolutePath, globalProperties)).ToList();
740
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)
258
IReadOnlyCollection<
ProjectGraphEntryPoint
>? graphEntryPoints = buildRequestConfiguration != null
726
private IReadOnlyCollection<
ProjectGraphEntryPoint
> GetGraphEntryPoints(BuildRequestConfiguration configuration)
759
static IReadOnlyCollection<
ProjectGraphEntryPoint
> GenerateGraphEntryPointsFromSolutionConfigurationXml(
767
return Array.Empty<
ProjectGraphEntryPoint
>();
770
var graphEntryPoints = new List<
ProjectGraphEntryPoint
>(projectConfigurations.Count);
Graph\GraphBuilder.cs (7)
67
IEnumerable<
ProjectGraphEntryPoint
> entryPoints,
267
private (IReadOnlyCollection<
ProjectGraphEntryPoint
> NewEntryPoints, IReadOnlyDictionary<string, IReadOnlyCollection<string>> SolutionDependencies) ExpandSolutionIfPresent(IReadOnlyCollection<
ProjectGraphEntryPoint
> entryPoints)
284
ProjectGraphEntryPoint
solutionEntryPoint = entryPoints.Single();
331
List<
ProjectGraphEntryPoint
> newEntryPoints = new(projectsInSolution.Count);
427
private static List<ConfigurationMetadata> AddGraphBuildPropertyToEntryPoints(IEnumerable<
ProjectGraphEntryPoint
> entryPoints)
432
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)
35
/// <see cref="
ProjectGraphEntryPoint
" /> instance.
130
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles), ProjectCollection.GlobalProjectCollection, null)
164
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles), projectCollection, null)
224
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles, globalProperties), ProjectCollection.GlobalProjectCollection, null)
266
: this(
ProjectGraphEntryPoint
.CreateEnumerable(entryProjectFiles, globalProperties), projectCollection, null)
277
public ProjectGraph(
ProjectGraphEntryPoint
entryPoint)
289
public ProjectGraph(IEnumerable<
ProjectGraphEntryPoint
> entryPoints)
305
public ProjectGraph(
ProjectGraphEntryPoint
entryPoint, ProjectCollection projectCollection)
335
IEnumerable<
ProjectGraphEntryPoint
> entryPoints,
375
IEnumerable<
ProjectGraphEntryPoint
> entryPoints,
419
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)
2017
ProjectGraphEntryPoint
entryPoint = graphBuildRequest.ProjectGraphEntryPoints.Single();
NuGet.Build.Tasks.Console (4)
MSBuildStaticGraphRestore.cs (4)
713
private List<
ProjectGraphEntryPoint
> GetProjectGraphEntryPoints(string entryProjectPath, IDictionary<string, string> globalProperties)
738
return new List<
ProjectGraphEntryPoint
>
1034
foreach (
var
entryPoint in entryProjects)
1258
IEnumerable<
ProjectGraphEntryPoint
> entryProjects,