7 instantiations of ProjectRepresentation
dotnet-watch (4)
Program.cs (3)
120project = new ProjectRepresentation(projectPath: null, entryPointFilePath: Path.GetFullPath(Path.Combine(workingDirectory, options.FilePath))); 136project = new ProjectRepresentation(projectPath, entryPointFilePath: null); 140project = 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)
382public ProjectOptions GetMainProjectOptions(ProjectRepresentation project, string workingDirectory)
Program.cs (1)
114ProjectRepresentation project;
Microsoft.DotNet.HotReload.Watch (18)
Aspire\AspireServiceFactory.cs (1)
242Representation = ProjectRepresentation.FromProjectOrEntryPointFilePath(projectLaunchInfo.ProjectPath),
Build\ProjectGraphFactory.cs (1)
18ImmutableArray<ProjectRepresentation> rootProjects,
Build\ProjectRepresentation.cs (3)
33public static ProjectRepresentation FromProjectOrEntryPointFilePath(string projectOrEntryPointFilePath) 38public ProjectRepresentation WithProjectGraphPath(string projectGraphPath) 41public 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)
284[.. updates.ProjectsToRebuild.Select(ProjectRepresentation.FromProjectOrEntryPointFilePath)], 969ImmutableArray<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)>();