4 references to MissingParameterValueException
Aspire.Hosting (2)
ParameterResourceBuilderExtensions.cs (2)
156?? throw new MissingParameterValueException($"Parameter resource could not be used because configuration key '{configurationKey}' is missing and the Parameter has no default value."); 194throw new MissingParameterValueException($"Connection string parameter resource could not be used because connection string '{name}' is missing."),
Aspire.Hosting.Tests (2)
Orchestrator\ParameterProcessorTests.cs (2)
330return new ParameterResource(name, _ => configuration[$"Parameters:{name}"] ?? throw new MissingParameterValueException($"Parameter '{name}' is missing"), secret); 335return new ParameterResource(name, _ => throw new MissingParameterValueException($"Parameter '{name}' is missing"), secret: secret);