12 references to _shutdownCancellationSource
Microsoft.DotNet.HotReload.Watch (12)
src\sdk\src\Dotnet.Watch\AspireService\AspireServerService.cs (12)
102_shutdownCancellationSource.Cancel();
112_shutdownCancellationSource.Cancel();
127_shutdownCancellationSource.Dispose();
245return app.RunAsync(_shutdownCancellationSource.Token);
250if (_shutdownCancellationSource.IsCancellationRequested)
276await context.Response.WriteAsJsonAsync(InfoResponse.Instance, JsonSerializerOptions, _shutdownCancellationSource.Token);
340var projectLaunchRequest = await context.GetProjectLaunchInformationAsync(_shutdownCancellationSource.Token);
350var sessionId = await _aspireServerEvents.StartProjectAsync(context.GetDcpId(), projectLaunchRequest, _shutdownCancellationSource.Token);
377await response.WriteAsJsonAsync(error, JsonSerializerOptions, _shutdownCancellationSource.Token);
384await response.WriteAsync(ex.GetMessageFromException(), _shutdownCancellationSource.Token);
398cancellationToken, _shutdownCancellationSource.Token, connection.HttpRequestAborted);
438var sessionExists = await _aspireServerEvents.StopSessionAsync(context.GetDcpId(), sessionId, _shutdownCancellationSource.Token);