breakpoint

This commit is contained in:
CortexCore
2023-09-15 23:02:46 +08:00
parent f6bf8fffe3
commit eabf0c6188
43 changed files with 1701 additions and 1582 deletions

View File

@@ -0,0 +1,26 @@
using System;
using BITKit;
using Cysharp.Threading.Tasks;
using Godot;
using IDIS.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace BITFactory;
/// <summary>
/// 标识码注册与查询服务
/// </summary>
public partial class IDIS_GodotBasedService:EntityComponent
{
public override void BuildService(IServiceCollection serviceCollection)
{
serviceCollection.AddTransient<IDIS_Service, IDIS_Service_SQLite>();
}
public override async void OnStart()
{
base.OnStart();
var service = Entity.ServiceProvider.GetRequiredService<IDIS_Service>();
await service.IsExistAsync("123");
}
}