예제 #1
0
        public DthTestServer()
        {
            Port = FindFreePort();
            HostId = Guid.NewGuid().ToString();

            _program = new ProjectModelServerCommand(Port, HostId);

            _thread = new Thread(() => { _program.OpenChannel(); }) { IsBackground = true };
            _thread.Start();
        }
예제 #2
0
        public DthTestServer()
        {
            Port   = FindFreePort();
            HostId = Guid.NewGuid().ToString();

            _program = new ProjectModelServerCommand(Port, HostId);

            _thread = new Thread(() => { _program.OpenChannel(); })
            {
                IsBackground = true
            };
            _thread.Start();
        }