using Autofac; using HybirdFrameworkCore.Autofac; namespace Service.Car.Server; public class CarServerMgr { public static CarServer? CarServer { get; set; } public static void InitServer() { CarServer = AppInfo.Container.Resolve(); CarServer.Start(5588); } }