1 instantiation of DotNetWatchContext
dotnet-watch (1)
Program.cs (1)
310
return
new
()
26 references to DotNetWatchContext
dotnet-watch (10)
Program.cs (7)
76
var options = CommandLineOptions.Parse(args, parsingLoggerFactory.CreateLogger(
DotNetWatchContext
.DefaultLogComponentName), console.Out, out errorCode);
90
var logger = loggerFactory.CreateLogger(
DotNetWatchContext
.DefaultLogComponentName);
273
using
var
context = CreateContext(processRunner);
306
internal
DotNetWatchContext
CreateContext(ProcessRunner processRunner)
308
var logger = loggerFactory.CreateLogger(
DotNetWatchContext
.DefaultLogComponentName);
315
BuildLogger = loggerFactory.CreateLogger(
DotNetWatchContext
.BuildLogComponentName),
350
var buildLogger = loggerFactory.CreateLogger(
DotNetWatchContext
.BuildLogComponentName);
Watch\BuildEvaluator.cs (2)
23
private readonly
DotNetWatchContext
_context;
32
public BuildEvaluator(
DotNetWatchContext
context)
Watch\DotNetWatcher.cs (1)
13
public static async Task WatchAsync(
DotNetWatchContext
context, CancellationToken shutdownCancellationToken)
Microsoft.DotNet.HotReload.Watch (16)
AppModels\BlazorWebAssemblyAppModel.cs (1)
15
internal sealed class BlazorWebAssemblyAppModel(
DotNetWatchContext
context, ProjectGraphNode clientProject)
AppModels\BlazorWebAssemblyHostedAppModel.cs (1)
17
internal sealed class BlazorWebAssemblyHostedAppModel(
DotNetWatchContext
context, ProjectGraphNode clientProject, ProjectGraphNode serverProject)
AppModels\HotReloadAppModel.cs (1)
23
public static HotReloadAppModel InferFromProject(
DotNetWatchContext
context, ProjectGraphNode projectNode)
AppModels\MobileAppModel.cs (1)
11
internal sealed class MobileAppModel(
DotNetWatchContext
context, ProjectGraphNode project) : HotReloadAppModel
AppModels\WebApplicationAppModel.cs (2)
11
internal abstract class WebApplicationAppModel(
DotNetWatchContext
context) : HotReloadAppModel
17
public
DotNetWatchContext
Context => context;
AppModels\WebServerAppModel.cs (1)
11
internal sealed class WebServerAppModel(
DotNetWatchContext
context, ProjectGraphNode serverProject)
Context\DotNetWatchContext.cs (2)
11
public const string DefaultLogComponentName = $"{nameof(
DotNetWatchContext
)}:Default";
12
public const string BuildLogComponentName = $"{nameof(
DotNetWatchContext
)}:Build";
HotReload\CompilationHandler.cs (2)
19
private readonly
DotNetWatchContext
_context;
62
public CompilationHandler(
DotNetWatchContext
context)
HotReload\HotReloadDotNetWatcher.cs (2)
25
private readonly
DotNetWatchContext
_context;
31
DotNetWatchContext
context,
Process\ProjectLauncher.cs (1)
13
DotNetWatchContext
context,
UI\IReporter.cs (2)
174
.Add(
DotNetWatchContext
.DefaultLogComponentName, Emoji.Watch)
175
.Add(
DotNetWatchContext
.BuildLogComponentName, Emoji.Build)