Пример #1
0
        public void Start(FubuRuntime runtime)
        {
            _port = PortFinder.FindPort(_port);

            int i = 0;

            while (!tryStartAtPort(runtime) && i > 3)
            {
                i++;
            }
        }
Пример #2
0
        public void Start(FubuRuntime runtime, string rootDirectory)
        {
            _port = PortFinder.FindPort(_port);


            int i = 0;

            while (!tryStartAtPort(rootDirectory, runtime) && i > 3)
            {
                i++;
            }
        }