- using Rebus.Activation;
- using TBL.CSharp.Game.Server.BuiltInService;
- namespace TBL.CSharp.Game.Server;
- /// <summary>
- /// 服务总线发生器
- /// </summary>
- public class Activator : BuiltinHandlerActivator
- {
- public Activator()
- {
- Register(() => new GatewayService(Bus));
- }
- }
|