325 references to PublishUpdateAsync
Aspire.Hosting (24)
ApplicationModel\CommandsConfigurationExtensions.cs (4)
242await resourceNotificationService.PublishUpdateAsync(projectResource, s => 293await resourceNotificationService.PublishUpdateAsync(projectResource, s => s with 359await resourceNotificationService.PublishUpdateAsync(projectResource, s => s with 371await resourceNotificationService.PublishUpdateAsync(projectResource, s => s with
ApplicationModel\CustomResourceSnapshotExtensions.cs (1)
21/// This method is intended for use with <see cref="ResourceNotificationService.PublishUpdateAsync(IResource, Func{CustomResourceSnapshot, CustomResourceSnapshot})"/>
ApplicationModel\ResourceNotificationService.cs (2)
610return PublishUpdateAsync(resource, s => 628return PublishUpdateAsync(resource, s => s with
Ats\NotificationExports.cs (1)
99return notificationService.PublishUpdateAsync(resource.Resource, snapshot =>
ConnectionStringBuilderExtensions.cs (2)
97await evt.Notifications.PublishUpdateAsync(r, s => s with 111await evt.Notifications.PublishUpdateAsync(r, s => s with
DotnetToolResourceExtensions.cs (1)
109await rns.PublishUpdateAsync(resource, x => x with
ExternalServiceBuilderExtensions.cs (3)
145await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with 157await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with 170await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with
Health\ResourceHealthCheckService.cs (2)
197await resourceNotificationService.PublishUpdateAsync(resource, s => 278await resourceNotificationService.PublishUpdateAsync(resource, s => s with
Lifecycle\TerminalHostFailureDiagnosticService.cs (1)
109await notifications.PublishUpdateAsync(host, s => s with { IsHidden = false })
Orchestrator\ApplicationOrchestrator.cs (6)
104await _notificationService.PublishUpdateAsync(resourceWithConnectionString, state => state with 215await _notificationService.PublishUpdateAsync(resource, s => s with { Urls = [.. urls] }).ConfigureAwait(false); 289: notificationService.PublishUpdateAsync(resource, stateFactory); 630await _notificationService.PublishUpdateAsync(context.Resource, s => s with { State = stateSnapshot }).ConfigureAwait(false); 699await _notificationService.PublishUpdateAsync(child, s => s with 727await _notificationService.PublishUpdateAsync(resource, s =>
Orchestrator\ParameterProcessor.cs (1)
703await notificationService.PublishUpdateAsync(parameterResource, s =>
Aspire.Hosting.Azure (13)
AzureProvisioningController.cs (3)
3640await notificationService.PublishUpdateAsync(resource, state => ApplyActiveOperationProperties(resource, state)).ConfigureAwait(false); 3680await notificationService.PublishUpdateAsync(targetResource, state => ApplyActiveOperationProperties(targetResource, stateFactory(state))).ConfigureAwait(false); 4176await notificationService.PublishUpdateAsync(azureEnvironmentResource, existingState => ApplyActiveOperationProperties(azureEnvironmentResource, existingState with
Provisioning\Provisioners\BicepProvisioner.cs (10)
131await notificationService.PublishUpdateAsync(resource, state => 333await notificationService.PublishUpdateAsync(resource, state => state with 447await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 533await notificationService.PublishUpdateAsync(resource, state => state with 555await notificationService.PublishUpdateAsync(resource, state => 584await notificationService.PublishUpdateAsync(resource, state => 657await notificationService.PublishUpdateAsync(resource, state => state with 688await notificationService.PublishUpdateAsync(resource, state => 819await notificationService.PublishUpdateAsync(resource, state => 987await notificationService.PublishUpdateAsync(resource, state =>
Aspire.Hosting.Azure.Functions (1)
DurableTask\DurableTaskResourceExtensions.cs (1)
236await notifications.PublishUpdateAsync(r, snapshot => snapshot with
Aspire.Hosting.Azure.Kusto (1)
AzureKustoBuilderExtensions.cs (1)
314await rns.PublishUpdateAsync(databaseResource, state => state with
Aspire.Hosting.Azure.Tests (60)
AzureBicepProvisionerTests.cs (1)
1262await notifications.PublishUpdateAsync(resource, state => state with
AzureEnvironmentResourceExtensionsTests.cs (59)
330await notifications.PublishUpdateAsync(environmentResource, state => state with 339await notifications.PublishUpdateAsync(storage.Resource, state => state with 706await notifications.PublishUpdateAsync(keyVault.Resource, state => state with { State = KnownResourceStates.Running }); 741await notifications.PublishUpdateAsync(postgres.Resource, state => state with { State = KnownResourceStates.Running }); 1364await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = new("Waiting for Deployment", KnownResourceStateStyles.Info) }); 1419await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = new("Creating ARM Deployment", KnownResourceStateStyles.Info) }); 1496await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = new(AzureProvisioningController.WaitingForDeploymentState, KnownResourceStateStyles.Info) }); 1666await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 1704await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 1787await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = new("Failed to Provision", KnownResourceStateStyles.Error) }); 1788await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 1882await notifications.PublishUpdateAsync(keyVault.Resource, state => state with { State = new("Failed to Provision", KnownResourceStateStyles.Error) }); 1951await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 1952await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 1953await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 2030await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 2098await notifications.PublishUpdateAsync(storage.Resource, state => state with 2105await notifications.PublishUpdateAsync(storage2.Resource, state => state with 2173await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 2174await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 2226await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 2227await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 2228await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 2287await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 2288await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 2704await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 2705await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 2706await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 2778await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = new("Failed to Provision", KnownResourceStateStyles.Error) }); 2779await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 2832await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 2892await notifications.PublishUpdateAsync(visibleResource, state => state with { State = KnownResourceStates.Running }); 2947await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 3020await notifications.PublishUpdateAsync(storage.Resource, state => state with 3080await notifications.PublishUpdateAsync(storage.Resource, state => state with 3153await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 3206await notifications.PublishUpdateAsync(storage.Resource, state => state with 3269await notifications.PublishUpdateAsync(storage.Resource, state => state with 3341await notifications.PublishUpdateAsync(storage.Resource, state => state with 3398await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 3399await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 3613await notifications.PublishUpdateAsync(storage.Resource, state => state with 3756await notifications.PublishUpdateAsync(storage2, state => state with 3843await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 3915await notifications.PublishUpdateAsync(keyVault.Resource, state => state with { State = new("Canceled", KnownResourceStateStyles.Info) }); 3995await notifications.PublishUpdateAsync(keyVault.Resource, state => state with { State = new("Canceled", KnownResourceStateStyles.Info) }); 4069await notifications.PublishUpdateAsync(postgres.Resource, state => state with { State = KnownResourceStates.Running }); 4121await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 4167await notifications.PublishUpdateAsync(keyVault.Resource, state => state with { State = KnownResourceStates.Running }); 4213await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 4327await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 4328await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 4380await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 4381await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 4438await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 4439await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running }); 4440await notifications.PublishUpdateAsync(storage2.Resource, state => state with { State = KnownResourceStates.Running }); 4482await notifications.PublishUpdateAsync(environmentResource, state => state with { State = KnownResourceStates.Running }); 4483await notifications.PublishUpdateAsync(storage.Resource, state => state with { State = KnownResourceStates.Running });
Aspire.Hosting.Blazor (4)
BlazorGatewayExtensions.cs (1)
442await notificationService.PublishUpdateAsync(reg.AppBuilder.Resource, snapshot => snapshot with
BrowserDebuggerHelper.cs (3)
197await notificationService.PublishUpdateAsync(commandTarget.Resource, s => s).ConfigureAwait(false); 256await notificationService.PublishUpdateAsync(commandTarget.Resource, s => s).ConfigureAwait(false); 324await resourceNotificationService.PublishUpdateAsync(commandTargetResource, s => s).ConfigureAwait(false);
Aspire.Hosting.Blazor.Tests (5)
BrowserDebuggerHelperTests.cs (5)
27await notificationService.PublishUpdateAsync( 40await notificationService.PublishUpdateAsync( 59await notificationService.PublishUpdateAsync( 73await notificationService.PublishUpdateAsync( 96await notificationService.PublishUpdateAsync(
Aspire.Hosting.Browsers (2)
BrowserLogsBuilderExtensions.cs (1)
292notifications.PublishUpdateAsync(browserLogsResource, snapshot => snapshot);
BrowserLogsConfigurationManager.cs (1)
422return resourceNotificationService.PublishUpdateAsync(resource, snapshot => snapshot with
Aspire.Hosting.Browsers.Tests (3)
BrowserLogsBuilderExtensionsTests.cs (1)
1353await app.ResourceNotifications.PublishUpdateAsync(web.Resource, snapshot => snapshot with
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
292notifications.PublishUpdateAsync(browserLogsResource, snapshot => snapshot);
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (1)
422return resourceNotificationService.PublishUpdateAsync(resource, snapshot => snapshot with
Aspire.Hosting.DevTunnels (5)
DevTunnelResourceBuilderExtensions.cs (5)
194await notifications.PublishUpdateAsync(portResource, snapshot => snapshot with 709await notifications.PublishUpdateAsync(portResource, snapshot => snapshot with 726await notifications.PublishUpdateAsync(portResource, snapshot => snapshot with 758await notifications.PublishUpdateAsync(portResource, snapshot => snapshot with 787await notifications.PublishUpdateAsync(portResource, snapshot => stoppedSnapshot = snapshot with
Aspire.Hosting.EntityFrameworkCore (8)
EFResourceBuilderExtensions.cs (8)
435await notificationService.PublishUpdateAsync(toolResource, s => s with 471await notificationService.PublishUpdateAsync(toolResource, s => s with 483await notificationService.PublishUpdateAsync(toolResource, s => s with 495await notificationService.PublishUpdateAsync(toolResource, s => s with 513await notificationService.PublishUpdateAsync(toolResource, s => s with 550await notificationService.PublishUpdateAsync(toolResource, s => s with 575await notificationService.PublishUpdateAsync(toolResource, s => s with 901resourceNotificationService.PublishUpdateAsync(migrationResource, s => s with
Aspire.Hosting.Foundry (15)
FoundryExtensions.cs (9)
295await rns.PublishUpdateAsync(resource, state => state with 313await rns.PublishUpdateAsync(resource, state => state with 321await rns.PublishUpdateAsync(resource, state => state with 350await rns.PublishUpdateAsync(deployment, state => state with 362await rns.PublishUpdateAsync(deployment, state => state with 377await rns.PublishUpdateAsync(deployment, state => state with 382await rns.PublishUpdateAsync(deployment, state => state with 389await rns.PublishUpdateAsync(deployment, state => state with 398await rns.PublishUpdateAsync(deployment, state => state with
PromptAgent\AzurePromptAgentResource.cs (6)
331await notificationService.PublishUpdateAsync(tool, s => s with 337await notificationService.PublishUpdateAsync(this, s => s with 344await notificationService.PublishUpdateAsync(this, s => s with 358await notificationService.PublishUpdateAsync(tool, s => s with 367await notificationService.PublishUpdateAsync(this, s => s with 380await notificationService.PublishUpdateAsync(this, s => s with
Aspire.Hosting.GitHub.Models (1)
GitHubModelsExtensions.cs (1)
73await evt.Notifications.PublishUpdateAsync(r, s => s with
Aspire.Hosting.Maui (6)
Lifecycle\MauiBuildQueueEventSubscriber.cs (3)
85await notificationService.PublishUpdateAsync(resource, s => s with 97await notificationService.PublishUpdateAsync(resource, s => s with 420await notificationService.PublishUpdateAsync(resource, s =>
Lifecycle\UnsupportedPlatformEventSubscriber.cs (1)
34await notificationService.PublishUpdateAsync(resource, s => s with
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
119await notificationService.PublishUpdateAsync(resource, s => s with
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
119await notificationService.PublishUpdateAsync(resource, s => s with
Aspire.Hosting.Maui.Tests (3)
MauiBuildQueueTests.cs (3)
574await env.NotificationService.PublishUpdateAsync(env.Android, s => s with 642await env.NotificationService.PublishUpdateAsync(env.Android, s => s with 660await env.NotificationService.PublishUpdateAsync(env.Android, s => s with
Aspire.Hosting.OpenAI (2)
OpenAIExtensions.cs (2)
84await evt.Notifications.PublishUpdateAsync(r, s => s with 130await evt.Notifications.PublishUpdateAsync(r, s => s with
Aspire.Hosting.Testing.Tests (4)
DashboardUrlTests.cs (2)
110await app.ResourceNotifications.PublishUpdateAsync( 138await app.ResourceNotifications.PublishUpdateAsync(
ResourceLoggerForwarderServiceTests.cs (2)
56await resourceNotificationService.PublishUpdateAsync(myresource, snapshot => snapshot with { State = "Running" }); 106await resourceNotificationService.PublishUpdateAsync(myresource, snapshot => snapshot with { State = "Running" });
Aspire.Hosting.Tests (154)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (26)
181await notificationService.PublishUpdateAsync(custom.Resource, s => s with 346await notificationService.PublishUpdateAsync(custom.Resource, s => s with 403await notificationService.PublishUpdateAsync(owner.Resource, s => s with 452await notificationService.PublishUpdateAsync(owner.Resource, s => s with 514await notificationService.PublishUpdateAsync(owner.Resource, s => s with 543await notificationService.PublishUpdateAsync(owner.Resource, s => s with 590await notificationService.PublishUpdateAsync(owner.Resource, s => s with 617await notificationService.PublishUpdateAsync(owner.Resource, s => s with 660await notificationService.PublishUpdateAsync(owner.Resource, s => s with 688await notificationService.PublishUpdateAsync(owner.Resource, s => s with 731await notificationService.PublishUpdateAsync(owner.Resource, s => s with 756await notificationService.PublishUpdateAsync(owner.Resource, s => s with 820await notificationService.PublishUpdateAsync(mcpResource.Resource, s => s with 824await notificationService.PublishUpdateAsync(owner.Resource, s => s with 880await notificationService.PublishUpdateAsync(owner.Resource, s => s with 1033await notificationService.PublishUpdateAsync(owner.Resource, s => s with 1096await notificationService.PublishUpdateAsync(owner.Resource, s => s with 1112await notificationService.PublishUpdateAsync(owner.Resource, s => s with 1149await notificationService.PublishUpdateAsync(custom.Resource, s => s with 1221await notificationService.PublishUpdateAsync(custom.Resource, s => s with 1257await notificationService.PublishUpdateAsync(custom.Resource, s => s with 1297await notificationService.PublishUpdateAsync(custom.Resource, s => s with 1356await notificationService.PublishUpdateAsync(custom.Resource, s => s with 1392await notificationService.PublishUpdateAsync(custom.Resource, s => s with 1945await notificationService.PublishUpdateAsync(hidden.Resource, snapshot => snapshot with 2169await notificationService.PublishUpdateAsync(dashboard, snapshot => snapshot with
Codespaces\CodespacesUrlRewriterTests.cs (1)
73await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with
Dashboard\DashboardEventHandlersTests.cs (2)
62await resourceNotificationService.PublishUpdateAsync(dashboardResource, s => s).DefaultTimeout(); 133await resourceNotificationService.PublishUpdateAsync(dashboardResource, s => s).DefaultTimeout();
Dashboard\DashboardServiceDataTerminalTests.cs (3)
35await notifications.PublishUpdateAsync(resource, s => s with { State = new ResourceStateSnapshot("Running", null) }).DefaultTimeout(); 50await notifications.PublishUpdateAsync(resource, s => s with { State = new ResourceStateSnapshot("Running", null) }).DefaultTimeout(); 110await notifications.PublishUpdateAsync(resource, s => s with { State = new ResourceStateSnapshot("Running", null) }).DefaultTimeout();
Dashboard\DashboardServiceTests.cs (4)
205await resourceNotificationService.PublishUpdateAsync(testResource, s => 310await resourceNotificationService.PublishUpdateAsync(testResource, s => 369await resourceNotificationService.PublishUpdateAsync(testResource, s => 432await resourceNotificationService.PublishUpdateAsync(testResource, s =>
Health\ResourceHealthCheckServiceTests.cs (22)
33await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 41await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 73await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 81await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 116await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 124await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 163await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 178await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 186await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 229await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 270await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 313await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 349await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 380await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 442await app.ResourceNotifications.PublishUpdateAsync(parent.Resource, s => s with 487await app.ResourceNotifications.PublishUpdateAsync(parent.Resource, s => s with 538await app.ResourceNotifications.PublishUpdateAsync(parent.Resource, s => s with 546await app.ResourceNotifications.PublishUpdateAsync(child.Resource, s => s with 582await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 590await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 628await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with 636await app.ResourceNotifications.PublishUpdateAsync(resource.Resource, s => s with
Lifecycle\TerminalHostFailureDiagnosticServiceTests.cs (6)
32await notifications.PublishUpdateAsync(host, s => s with 71await notifications.PublishUpdateAsync(host, s => s with 102await notifications.PublishUpdateAsync(host, s => s with 143await notifications.PublishUpdateAsync(host, s => s with 181await notifications.PublishUpdateAsync(host, s => s with 196await notifications.PublishUpdateAsync(host, s => s with
Orchestrator\ApplicationOrchestratorTests.cs (3)
912await resourceNotificationService.PublishUpdateAsync(waiter.Resource, s => s with { State = KnownResourceStates.Starting }).DefaultTimeout(); 972await resourceNotificationService.PublishUpdateAsync(waiter.Resource, s => s with { State = KnownResourceStates.Starting }); 1105await @event.Notifications.PublishUpdateAsync(resource, s => s with
ResourceNotificationTests.cs (64)
87await notificationService.PublishUpdateAsync(resource, state => state).DefaultTimeout(); 122await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout(); 124await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout(); 153await notificationService.PublishUpdateAsync(resource, snapshot => 200await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout(); 202await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout(); 241await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 257await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 271await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 287await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = KnownResourceStates.Running }).DefaultTimeout(); 302await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeOtherState" }).DefaultTimeout(); 317await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeOtherState" }).DefaultTimeout(); 334await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 379await notificationService.PublishUpdateAsync(dependency1, s => s with 392await notificationService.PublishUpdateAsync(dependency2, s => s with 427await notificationService.PublishUpdateAsync(dependency1, s => 445await notificationService.PublishUpdateAsync(dependency2, s => 483await notificationService.PublishUpdateAsync(dependency1, s => s with 497await notificationService.PublishUpdateAsync(dependency2, s => s with 521await notificationService.PublishUpdateAsync(resource, s => s with 537await notificationService.PublishUpdateAsync(dependency, s => s with 564await notificationService.PublishUpdateAsync(resource, s => s with { State = state }).DefaultTimeout(); 569await notificationService.PublishUpdateAsync(dependency, s => s with 617await notificationService.PublishUpdateAsync(dependency, s => s with 647await notificationService.PublishUpdateAsync(dependency, s => s with 672await notificationService.PublishUpdateAsync(resource, s => s with 687await notificationService.PublishUpdateAsync(dependency, s => s with 726await notificationService.PublishUpdateAsync(dependency, s => s with 789await notificationService.PublishUpdateAsync(resource, s => s with 798await notificationService.PublishUpdateAsync(resource, s => s with 814await notificationService.PublishUpdateAsync(dependency, s => s with 819await notificationService.PublishUpdateAsync(resource, s => s with 847await notificationService.PublishUpdateAsync(dependency, s => s with 912await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 923await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 933await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "NewState" }).DefaultTimeout(); 943await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = null }).DefaultTimeout(); 953await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "" }).DefaultTimeout(); 963await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = " " }).DefaultTimeout(); 981await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { CreationTimeStamp = createdDate }).DefaultTimeout(); 982await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 983await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { ExitCode = 0 }).DefaultTimeout(); 1059await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1066await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1111await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1147await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1278await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1284await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1323await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1348await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1356await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1414await notificationService.PublishUpdateAsync(resourceBuilder.Resource, snapshot => snapshot with { State = state, ExitCode = exitCode }).DefaultTimeout(); 1458await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 1462await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with { State = "SomeState" }).DefaultTimeout(); 1467await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with { State = "SomeOtherState" }).DefaultTimeout(); 1523await notificationService.PublishUpdateAsync(resource, BuildSnapshot).DefaultTimeout(); 1527await notificationService.PublishUpdateAsync(resource, BuildSnapshot).DefaultTimeout(); 1532await notificationService.PublishUpdateAsync(resource, snapshot => BuildSnapshot(snapshot) with 1552await notificationService.PublishUpdateAsync(resource, static snapshot => snapshot).DefaultTimeout(); 1556await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1576await notificationService.PublishUpdateAsync(resource, static snapshot => snapshot).DefaultTimeout(); 1579await notificationService.PublishUpdateAsync(resource, snapshot => MutateProperty(snapshot, property)).DefaultTimeout(); 1595await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with 1608await notificationService.PublishUpdateAsync(resource, snapshot => snapshot with
WaitForTests.cs (15)
110await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 141await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 181await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 219await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 330await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 364await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 372await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 411await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 419await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 459await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 506await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 561await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 615await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 766await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with 878await app.ResourceNotifications.PublishUpdateAsync(dependency.Resource, s => s with
WithHttpCommandTests.cs (6)
627await app.ResourceNotifications.PublishUpdateAsync(serviceA.Resource, s => s with 950await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with 962await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with 1005await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with 1020await app.ResourceNotifications.PublishUpdateAsync(service.Resource, s => s with 1059await app.ResourceNotifications.PublishUpdateAsync(resource, s => s with
WithUrlsTests.cs (2)
570await e.Notifications.PublishUpdateAsync(custom, s => s with 577.PublishUpdateAsync(e.Resource, s => s with
CustomResources.AppHost (11)
TalkingClockResource.cs (9)
76await notification.PublishUpdateAsync(resource, s => s with 81await notification.PublishUpdateAsync(resource.TickHand, s => s with 86await notification.PublishUpdateAsync(resource.TockHand, s => s with 100await notification.PublishUpdateAsync(resource, 102await notification.PublishUpdateAsync(resource.TickHand, 104await notification.PublishUpdateAsync(resource.TockHand, 110await notification.PublishUpdateAsync(resource, 112await notification.PublishUpdateAsync(resource.TickHand, 114await notification.PublishUpdateAsync(resource.TockHand,
TestResource.cs (2)
54await notificationService.PublishUpdateAsync(resource, state => state with 65await notificationService.PublishUpdateAsync(resource, state => state with
HealthChecksSandbox.AppHost (1)
AppHost.cs (1)
135await notificationService.PublishUpdateAsync(
Stress.AppHost (2)
TestResource.cs (2)
168await notificationService.PublishUpdateAsync(resource, state => state with 179await notificationService.PublishUpdateAsync(resource, state => state with