3 instantiations of UpdateCommandStateContext
Aspire.Hosting (2)
ApplicationModel\ResourceNotificationService.cs (2)
632
var newState = annotation.UpdateState(new
UpdateCommandStateContext
{ ResourceSnapshot = previousState, ServiceProvider = _serviceProvider });
675
var state = annotation.UpdateState(new
UpdateCommandStateContext
{ ResourceSnapshot = previousState, ServiceProvider = serviceProvider });
Aspire.Hosting.Tests (1)
ResourceCommandAnnotationTests.cs (1)
50
var state = startCommand.UpdateState(new
UpdateCommandStateContext
4 references to UpdateCommandStateContext
Aspire.Hosting (4)
ApplicationModel\CommandOptions.cs (1)
50
public Func<
UpdateCommandStateContext
, ResourceCommandState>? UpdateState { get; set; }
ApplicationModel\ResourceCommandAnnotation.cs (2)
20
Func<
UpdateCommandStateContext
, ResourceCommandState> updateState,
60
public Func<
UpdateCommandStateContext
, ResourceCommandState> UpdateState { get; }
ResourceBuilderExtensions.cs (1)
1431
Func<
UpdateCommandStateContext
, ResourceCommandState>? updateState = null,