4 instantiations of UpdateCommandStateContext
Aspire.Hosting (2)
ApplicationModel\ResourceNotificationService.cs (2)
760var newState = annotation.UpdateState(new UpdateCommandStateContext { ResourceSnapshot = previousState, ServiceProvider = _serviceProvider }); 803var state = annotation.UpdateState(new UpdateCommandStateContext { ResourceSnapshot = previousState, ServiceProvider = serviceProvider });
Aspire.Hosting.Tests (2)
ResourceCommandAnnotationTests.cs (2)
59var state = startCommand.UpdateState(new UpdateCommandStateContext 139var state = rebuildCommand.UpdateState(new UpdateCommandStateContext
6 references to UpdateCommandStateContext
Aspire.Hosting (4)
ApplicationModel\CommandOptions.cs (1)
51public Func<UpdateCommandStateContext, ResourceCommandState>? UpdateState { get; set; }
ApplicationModel\ResourceCommandAnnotation.cs (2)
20Func<UpdateCommandStateContext, ResourceCommandState> updateState, 60public Func<UpdateCommandStateContext, ResourceCommandState> UpdateState { get; }
ResourceBuilderExtensions.cs (1)
2251Func<UpdateCommandStateContext, ResourceCommandState>? updateState = null,
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
340static ResourceCommandState UpdateStateDesktop(UpdateCommandStateContext context) 351static ResourceCommandState UpdateStateWeb(IResourceBuilder<AzureKustoClusterResource> resourceBuilder, UpdateCommandStateContext context)