Пример #1
0
        public IEnumerable <string> GetExecuteResult()
        {
            var cmdHost       = new CmdHost(_cmdParam);
            var executeResult = cmdHost.GetExecuteResult();
            var result        = _cmdParam.IsWidthListShowParam()
                ? new WidthDirList(executeResult, Extentions.GetConsoleWindowWidth()).GetResult()
                : new DetailedDirList(GetFilterDirList(executeResult)).GetResult();

            return(result);
        }