1 write to _execOptions
Aspire.Hosting (1)
Exec\ExecResourceManager.cs (1)
34
_execOptions
= execOptions.Value;
7 references to _execOptions
Aspire.Hosting (7)
Exec\ExecResourceManager.cs (7)
42
if (!
_execOptions
.Enabled)
142
if (!
_execOptions
.Enabled)
149
var targetResource = _model.Resources.FirstOrDefault(x => x.Name.Equals(
_execOptions
.ResourceName, StringComparisons.ResourceName));
152
_logger.LogError("Target resource '{ResourceName}' not found in the model resources.",
_execOptions
.ResourceName);
153
throw new InvalidOperationException($"Target resource {
_execOptions
.ResourceName} not found in the model resources");
204
if (
_execOptions
.StartResource)
218
var command =
_execOptions
.Command;