Exemplo n.º 1
0
        public static async Task <string> PopupOutput(string fileName)
        {
            string outputsFile = Path.Combine(outputsPath, fileName);
            var    result      = await Task.Run(() =>
            {
                DirFileHelper.ExistsFile(outputsFile);
                var jsonInfos = DirFileHelper.ReadLastLines(outputsFile);
                return(jsonInfos);
            });

            return(result);
        }