private BuildCommand GetCompileCommand(FileInfo srcInfo) { if (srcInfo == null) { return(null); } BuildTool buildTool = _buildToolManager.BuildTools.GetSelectedTool( srcInfo.Extension, QuickSharp.BuildTools.Constants.ACTION_COMPILE); if (buildTool == null || buildTool.BuildCommand == null) { return(null); } BuildCommand buildCommand = buildTool.BuildCommand(buildTool, srcInfo); return(buildCommand); }