示例#1
0
文件: NodeServer.cs 项目: waodng/VSIX
        public static async Task <CompilerResult> CallServiceAsync(string path, bool reattempt = false)
        {
            await Up();

            if (_server != null)
            {
                return(await _server.CallService(path, reattempt));
            }
            else
            {
                return(CompilerResult.GenerateResult(path, "", "", false, "Unable to start node", "", null, false));
            }
        }
示例#2
0
        public static async Task <CompilerResult> CallServiceAsync(string path, bool reattempt = false)
        {
            await Up();

            return(await _server.CallService(path, reattempt));
        }