7 instantiations of ProjectRepresentation
dotnet-watch (4)
Program.cs (3)
121project = new ProjectRepresentation(projectPath: null, entryPointFilePath: Path.GetFullPath(Path.Combine(workingDirectory, options.FilePath))); 137project = new ProjectRepresentation(projectPath, entryPointFilePath: null); 141project = 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)
382public ProjectOptions GetMainProjectOptions(ProjectRepresentation project, string workingDirectory)
Program.cs (1)
115ProjectRepresentation project;
Microsoft.DotNet.HotReload.Watch (19)
Aspire\AspireServiceFactory.cs (1)
243Representation = ProjectRepresentation.FromProjectOrEntryPointFilePath(projectLaunchInfo.ProjectPath),
Build\ProjectGraphFactory.cs (1)
19ImmutableArray<ProjectRepresentation> rootProjects,
Build\ProjectRepresentation.cs (3)
34public static ProjectRepresentation FromProjectOrEntryPointFilePath(string projectOrEntryPointFilePath) 39public ProjectRepresentation WithProjectGraphPath(string projectGraphPath) 42public bool Equals(ProjectRepresentation other)
Context\DotNetWatchContext.cs (1)
25public required ImmutableArray<ProjectRepresentation> RootProjects { get; init; }
Context\ProjectOptions.cs (1)
8public required ProjectRepresentation Representation { get; init; }
HotReload\HotReloadDotNetWatcher.cs (2)
300[.. updatesBuilder.ProjectsToRebuild.Select(ProjectRepresentation.FromProjectOrEntryPointFilePath)], 984ImmutableArray<ProjectRepresentation> projects,
HotReload\RunningProjectsManager.cs (1)
406public IEnumerable<RunningProject> GetRunningProjects(IEnumerable<ProjectRepresentation> projects)
Process\LaunchSettingsProfile.cs (1)
26internal static LaunchSettingsProfile? ReadLaunchProfile(ProjectRepresentation project, string? launchProfileName, ILogger logger)
UI\IReporter.cs (8)
190public static readonly MessageDescriptor<IEnumerable<ProjectRepresentation>> RestartingProjectsNotification = CreateNotification<IEnumerable<ProjectRepresentation>>(); 204public static readonly MessageDescriptor<IEnumerable<ProjectRepresentation>> ChangesAppliedToProjectsNotification = CreateNotification<IEnumerable<ProjectRepresentation>>(); 285public static readonly MessageDescriptor<IEnumerable<ProjectRepresentation>> BuildStartedNotification = CreateNotification<IEnumerable<ProjectRepresentation>>(); 286public static readonly MessageDescriptor<(IEnumerable<ProjectRepresentation> projects, bool success)> BuildCompletedNotification = CreateNotification<(IEnumerable<ProjectRepresentation> projects, bool success)>();