1 write to _toolResource
Aspire.Hosting.EntityFrameworkCore (1)
EFCoreOperationExecutor.cs (1)
80
_toolResource
= toolResource;
10 references to _toolResource
Aspire.Hosting.EntityFrameworkCore (10)
EFCoreOperationExecutor.cs (10)
142
var execAnnotation =
_toolResource
.Annotations.OfType<ExecutableAnnotation>().FirstOrDefault();
145
_toolResource
.Annotations.Remove(execAnnotation);
146
_toolResource
.Annotations.Add(new ExecutableAnnotation
306
_toolResource
.Annotations.Add(argsAnnotation);
315
var logTask = CaptureLogsAsync(loggerService.WatchAsync(
_toolResource
), _logger, dataBuilder, logCancellation.Token);
319
var startCommandName = GetToolStartCommandName(
_toolResource
);
320
var startResult = await resourceCommandService.ExecuteCommandAsync(
_toolResource
, startCommandName, _cancellationToken).ConfigureAwait(false);
334
_toolResource
.Name,
361
_toolResource
.Name,
382
_toolResource
.Annotations.Remove(argsAnnotation);