コード例 #1
0
 public MediatorServer(SystemConfiguration systemConfig, DataSource dataSource)
 {
     config = systemConfig.Servers.First(kvp => kvp.Value.Type == ServerTypes.Mediator).Value;
     controller = new Controller(dataSource);
     //			bootstrapper = new MediatorBootstrapper(controller);
     bootstrapper = new ApiBootstrapper(controller);
 }
コード例 #2
0
 public ApiBootstrapper(Controller controller)
 {
     this.controller = controller;
     serverType = ServerTypes.Mediator;
 }
コード例 #3
0
 public MediatorBootstrapper(Controller controller)
 {
     this.controller = controller;
 }