3 instantiations of UpdateCommandStateContext
Aspire.Hosting (2)
ApplicationModel\ResourceNotificationService.cs (2)
741var newState = annotation.UpdateState(new UpdateCommandStateContext { ResourceSnapshot = previousState, ServiceProvider = _serviceProvider }); 784var state = annotation.UpdateState(new UpdateCommandStateContext { ResourceSnapshot = previousState, ServiceProvider = serviceProvider });
Aspire.Hosting.Tests (1)
ResourceCommandAnnotationTests.cs (1)
54var state = startCommand.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)
2056Func<UpdateCommandStateContext, ResourceCommandState>? updateState = null,
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
336static ResourceCommandState UpdateStateDesktop(UpdateCommandStateContext context) 347static ResourceCommandState UpdateStateWeb(IResourceBuilder<AzureKustoClusterResource> resourceBuilder, UpdateCommandStateContext context)