15 writes to DynamicLoading
Aspire.Hosting.Azure (4)
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
139DynamicLoading = new InputLoadOptions 192DynamicLoading = subscriptionLoadOptions 204DynamicLoading = new InputLoadOptions 241DynamicLoading = new InputLoadOptions
Aspire.Hosting.Tests (4)
InteractionServiceTests.cs (4)
831DynamicLoading = new InputLoadOptions 885DynamicLoading = new InputLoadOptions 993DynamicLoading = new InputLoadOptions 1026DynamicLoading = new InputLoadOptions
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
82DynamicLoading = new InputLoadOptions
Stress.AppHost (6)
InteractionCommands.cs (6)
300DynamicLoading = new InputLoadOptions 348DynamicLoading = sharedDynamicOptions 359DynamicLoading = sharedDynamicOptions 368DynamicLoading = new InputLoadOptions 439DynamicLoading = new InputLoadOptions 456DynamicLoading = new InputLoadOptions
20 references to DynamicLoading
Aspire.Hosting (7)
Dashboard\DashboardService.cs (1)
125.SelectMany(i => i.DynamicLoading?.DependsOnInputs ?? [])
Dashboard\DashboardServiceData.cs (1)
222i => i.DynamicLoading is { } dynamic &&
InteractionService.cs (4)
135if (input.DynamicLoading is { } dynamic) 145throw new InvalidOperationException($"The input '{input.Name}' has {nameof(InteractionInput.DynamicLoading)} that depends on an input named '{dependsOnInputName}', but no such input exists."); 149throw new InvalidOperationException($"The input '{input.Name}' has {nameof(InteractionInput.DynamicLoading)} that depends on an input named '{dependsOnInputName}', but that input is not defined before it. Inputs must be defined in order so that dependencies are always to earlier inputs."); 169if (input.DynamicLoading is { } dynamic)
Pipelines\PipelineActivityReporter.cs (1)
323.SelectMany(i => i.DynamicLoading?.DependsOnInputs ?? [])
Aspire.Hosting.Azure.Tests (13)
ProvisioningContextProviderTests.cs (13)
314await inputsInteraction.Inputs[BaseProvisioningContextProvider.ResourceGroupName].DynamicLoading!.LoadCallback(new LoadInputContext 326await inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName].DynamicLoading!.LoadCallback(new LoadInputContext 385await inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName].DynamicLoading!.LoadCallback(new LoadInputContext 476await inputsInteraction.Inputs[BaseProvisioningContextProvider.ResourceGroupName].DynamicLoading!.LoadCallback(new LoadInputContext 488await inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName].DynamicLoading!.LoadCallback(new LoadInputContext 497await inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName].DynamicLoading!.LoadCallback(new LoadInputContext 599Assert.NotNull(subscriptionInput.DynamicLoading); 645Assert.NotNull(subscriptionInput.DynamicLoading); 646Assert.NotNull(subscriptionInput.DynamicLoading.DependsOnInputs); 647var dependsOnInputs = Assert.Single(subscriptionInput.DynamicLoading.DependsOnInputs); 695await subscriptionInput.DynamicLoading!.LoadCallback(new LoadInputContext 748Assert.Null(subscriptionInput.DynamicLoading); 798await resourceGroupInput.DynamicLoading!.LoadCallback(new LoadInputContext