7 instantiations of ProjectRepresentation
dotnet-watch (4)
Program.cs (3)
121
project = new
ProjectRepresentation
(projectPath: null, entryPointFilePath: Path.GetFullPath(Path.Combine(workingDirectory, options.FilePath)));
137
project = new
ProjectRepresentation
(projectPath, entryPointFilePath: null);
141
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)
36
?
new
(projectPath: projectOrEntryPointFilePath, entryPointFilePath: null)
37
:
new
(projectPath: null, entryPointFilePath: projectOrEntryPointFilePath);
40
=>
new
(projectGraphPath, PhysicalPath, EntryPointFilePath);
21 references to ProjectRepresentation
dotnet-watch (2)
CommandLine\CommandLineOptions.cs (1)
382
public ProjectOptions GetMainProjectOptions(
ProjectRepresentation
project, string workingDirectory)
Program.cs (1)
115
ProjectRepresentation
project;
Microsoft.DotNet.HotReload.Watch (19)
Aspire\AspireServiceFactory.cs (1)
243
Representation =
ProjectRepresentation
.FromProjectOrEntryPointFilePath(projectLaunchInfo.ProjectPath),
Build\ProjectGraphFactory.cs (1)
19
ImmutableArray<
ProjectRepresentation
> rootProjects,
Build\ProjectRepresentation.cs (3)
34
public static
ProjectRepresentation
FromProjectOrEntryPointFilePath(string projectOrEntryPointFilePath)
39
public
ProjectRepresentation
WithProjectGraphPath(string projectGraphPath)
42
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)
300
[.. updatesBuilder.ProjectsToRebuild.Select(
ProjectRepresentation
.FromProjectOrEntryPointFilePath)],
984
ImmutableArray<
ProjectRepresentation
> projects,
HotReload\RunningProjectsManager.cs (1)
406
public IEnumerable<RunningProject> GetRunningProjects(IEnumerable<
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)>();