Skip to content

Instantly share code, notes, and snippets.

View ShawnTheBeachy's full-sized avatar

Shawn Beachy ShawnTheBeachy

  • Pennsylvania, USA
View GitHub Profile
@ShawnTheBeachy
ShawnTheBeachy / TestWorkerService.cs
Last active March 26, 2024 08:30
WorkerServiceFactory implementation
using Microsoft.Extensions.Hosting;
public sealed class TestWorkerService : IDisposable
{
internal readonly IHost Host;
internal TestWorkerService(
HostApplicationBuilder builder,
Action<IHostApplicationBuilder> configure
)