Ejemplo n.º 1
0
 public void FindConfigs()
 {
     try
     {
         new List <IConfigSearcher> {
             new PuttyConfigSearcher(), new RDPFileImporter()
         }
         .AsParallel()
         .Select(searcher => searcher.GetConnections())
         .ForAll(AddFoundConnections);
     }
     catch (Exception)
     {
     }
     finally
     {
         FileEnumerator.ClearFiles();
         SetSearchButtonState(true);
     }
 }