コード例 #1
0
        public void Run()
        {
            IServiceManager manager = configurator.Services;

            configurator.ConfigureServices(manager);

            ServerConfiguration config = configurator.GetServerConfiguration();

            ICoreServerService server = manager.GetService <ICoreServerService>("realserver");

            server.SetConfiguration(config);
            server.Start();
        }