This commit is contained in:
CortexCore
2024-12-29 18:03:29 +08:00
parent 0b3bb54322
commit 385220e0f6
5 changed files with 58 additions and 56 deletions

View File

@@ -49,6 +49,8 @@ namespace Net.Like.Xue.Tokyo
var serviceCollection = BITApp.ServiceCollection = new ServiceCollection();
serviceCollection.AddSingleton(source);
serviceCollection.AddSingleton<IServiceCollection>(serviceCollection);
serviceCollection.AddTransient(typeof(ILogger<>),typeof( UnityLogger<>));