benz-obstacle-detection/BenzObstacleDetect/Program.cs

9 lines
261 B
C#

using Autolabor.Benz.ObstacleDetection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddHostedService<Worker>();
var host = builder.Build();
host.Run();