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); }
public ApiBootstrapper(Controller controller) { this.controller = controller; serverType = ServerTypes.Mediator; }
public MediatorBootstrapper(Controller controller) { this.controller = controller; }