예제 #1
0
        private string GetPingText()
        {
            var text = string.Empty;

            PingCollaction.ToList().ForEach(x => text += x.Response + "\r");
            return(text);
        }
예제 #2
0
 private async Task OnExportCommandExecutedAsync()
 {
     if (PingCollaction?.Count > 0)
     {
         var text = string.Empty;
         PingCollaction.ToList().ForEach(x => text += x.Response + "\r");
         await FileHelper.SaveFileAsync(text, "ping.txt");
     }
 }