5 references to ResourceName
Aspire.Hosting (5)
Exec\ExecOptions.cs (2)
27/// Command to execute against the target resource by <see cref="ResourceName"/>. 32/// Whether to start the <see cref="ResourceName"/> resource before executing the command.
Exec\ExecResourceManager.cs (3)
149var 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); 153throw new InvalidOperationException($"Target resource {_execOptions.ResourceName} not found in the model resources");