Activator.cs 299 B

123456789101112131415
  1. using Rebus.Activation;
  2. using TBL.CSharp.Game.Server.BuiltInService;
  3. namespace TBL.CSharp.Game.Server;
  4. /// <summary>
  5. /// 服务总线发生器
  6. /// </summary>
  7. public class Activator : BuiltinHandlerActivator
  8. {
  9. public Activator()
  10. {
  11. Register(() => new GatewayService(Bus));
  12. }
  13. }