14 implementations of StartAsync
aspire (1)
Telemetry\AspireCliTelemetry.cs (1)
173public async Task StartAsync(CancellationToken cancellationToken)
Aspire.Hosting (3)
Dashboard\DashboardServiceHost.cs (1)
201async Task IHostedService.StartAsync(CancellationToken cancellationToken)
DistributedApplicationLifecycle.cs (1)
17public Task StartAsync(CancellationToken cancellationToken)
Orchestrator\OrchestratorHostService.cs (1)
32public async Task StartAsync(CancellationToken cancellationToken = default)
Aspire.Hosting.Testing.Tests (1)
tests\Shared\DistributedApplicationTestingBuilderExtensions.cs (1)
114public Task StartAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Aspire.Hosting.Tests (2)
AppHostSmokeTests.cs (1)
101public Task StartAsync(CancellationToken cancellationToken)
tests\Shared\DistributedApplicationTestingBuilderExtensions.cs (1)
114public Task StartAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationTestFactory.cs (1)
72public Task StartAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.DataProtection (1)
Internal\DataProtectionHostedService.cs (1)
29public Task StartAsync(CancellationToken token)
Microsoft.AspNetCore.Hosting (1)
GenericHost\GenericWebHostService.cs (1)
62public async Task StartAsync(CancellationToken cancellationToken)
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
AutoActivationHostedService.cs (1)
24public Task StartAsync(CancellationToken cancellationToken)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
HealthCheckPublisherHostedService.cs (1)
62public Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.Extensions.Hosting.Abstractions (1)
BackgroundService.cs (1)
40public virtual Task StartAsync(CancellationToken cancellationToken)
Nats.Backend (1)
Program.cs (1)
25public Task StartAsync(CancellationToken cancellationToken)
8 references to StartAsync
Microsoft.AspNetCore.Hosting (1)
Internal\HostedServiceExecutor.cs (1)
21await service.StartAsync(token);
Microsoft.Extensions.Hosting (1)
Internal\Host.cs (1)
126await service.StartAsync(token).ConfigureAwait(false);
Microsoft.Extensions.Hosting.Abstractions (3)
IHostedLifecycleService.cs (3)
11/// <see cref="IHostedService.StartAsync(CancellationToken)"/> and 17/// Triggered before <see cref="IHostedService.StartAsync(CancellationToken)"/>. 24/// Triggered after <see cref="IHostedService.StartAsync(CancellationToken)"/>.
Microsoft.Extensions.Hosting.Testing (1)
FakeHostingExtensions.cs (1)
38await service.StartAsync(cancellationToken).ConfigureAwait(false);
Microsoft.Extensions.Hosting.Testing.Tests (1)
HostingFakesExtensionsTests.cs (1)
31serviceMock.Setup(x => x.StartAsync(tokenSource.Token)).Returns(Task.CompletedTask);
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\HttpClientLoggingExtensionsTest.cs (1)
328.StartAsync(CancellationToken.None);