7 instantiations of ProjectRepresentation
dotnet-watch (4)
Program.cs (3)
120
project = new
ProjectRepresentation
(projectPath: null, entryPointFilePath: Path.GetFullPath(Path.Combine(workingDirectory, options.FilePath)));
136
project = new
ProjectRepresentation
(projectPath, entryPointFilePath: null);
140
project = new
ProjectRepresentation
(projectPath: null, entryPointFilePath);
Watch\MsBuildFileSetFactory.cs (1)
34
[new
ProjectRepresentation
(rootProjectFile, entryPointFilePath: null)],
Microsoft.DotNet.HotReload.Watch (3)
Build\ProjectRepresentation.cs (3)
35
?
new
(projectPath: projectOrEntryPointFilePath, entryPointFilePath: null)
36
:
new
(projectPath: null, entryPointFilePath: projectOrEntryPointFilePath);
39
=>
new
(projectGraphPath, PhysicalPath, EntryPointFilePath);
20 references to ProjectRepresentation
dotnet-watch (2)
CommandLine\CommandLineOptions.cs (1)
382
public ProjectOptions GetMainProjectOptions(
ProjectRepresentation
project, string workingDirectory)
Program.cs (1)
114
ProjectRepresentation
project;
Microsoft.DotNet.HotReload.Watch (18)
Aspire\AspireServiceFactory.cs (1)
242
Representation =
ProjectRepresentation
.FromProjectOrEntryPointFilePath(projectLaunchInfo.ProjectPath),
Build\ProjectGraphFactory.cs (1)
18
ImmutableArray<
ProjectRepresentation
> rootProjects,
Build\ProjectRepresentation.cs (3)
33
public static
ProjectRepresentation
FromProjectOrEntryPointFilePath(string projectOrEntryPointFilePath)
38
public
ProjectRepresentation
WithProjectGraphPath(string projectGraphPath)
41
public bool Equals(
ProjectRepresentation
other)
Context\DotNetWatchContext.cs (1)
25
public required ImmutableArray<
ProjectRepresentation
> RootProjects { get; init; }
Context\ProjectOptions.cs (1)
8
public required
ProjectRepresentation
Representation { get; init; }
HotReload\HotReloadDotNetWatcher.cs (2)
284
[.. updates.ProjectsToRebuild.Select(
ProjectRepresentation
.FromProjectOrEntryPointFilePath)],
969
ImmutableArray<
ProjectRepresentation
> projects,
Process\LaunchSettingsProfile.cs (1)
26
internal static LaunchSettingsProfile? ReadLaunchProfile(
ProjectRepresentation
project, string? launchProfileName, ILogger logger)
UI\IReporter.cs (8)
190
public static readonly MessageDescriptor<IEnumerable<
ProjectRepresentation
>> RestartingProjectsNotification = CreateNotification<IEnumerable<
ProjectRepresentation
>>();
204
public static readonly MessageDescriptor<IEnumerable<
ProjectRepresentation
>> ChangesAppliedToProjectsNotification = CreateNotification<IEnumerable<
ProjectRepresentation
>>();
285
public static readonly MessageDescriptor<IEnumerable<
ProjectRepresentation
>> BuildStartedNotification = CreateNotification<IEnumerable<
ProjectRepresentation
>>();
286
public static readonly MessageDescriptor<(IEnumerable<
ProjectRepresentation
> projects, bool success)> BuildCompletedNotification = CreateNotification<(IEnumerable<
ProjectRepresentation
> projects, bool success)>();