1 write to _execOptions
Aspire.Hosting (1)
Exec\ExecResourceManager.cs (1)
34_execOptions = execOptions.Value;
9 references to _execOptions
Aspire.Hosting (9)
Exec\ExecResourceManager.cs (9)
42if (!_execOptions.Enabled) 158if (!_execOptions.Enabled) 165var targetResource = _model.Resources.FirstOrDefault(x => x.Name.Equals(_execOptions.ResourceName, StringComparisons.ResourceName)); 168_logger.LogError("Target resource '{ResourceName}' not found in the model resources.", _execOptions.ResourceName); 169throw new InvalidOperationException($"Target resource {_execOptions.ResourceName} not found in the model resources"); 221if (_execOptions.StartResource) 235var command = _execOptions.Command; 247var workingDirectory = _execOptions.WorkingDirectory; 265var command = _execOptions.Command;