예제 #1
0
 private static IEnumerable <string> GetComputerNamesFromFile(string fileName)
 {
     fileName = MagicValues.StripSurroundingDblQuotes(fileName);
     Helpers.Assert(IsFile(fileName), "File does not exist");
     return(MagicValues.DeleniateComputerList(File.ReadAllText(fileName)));
 }
예제 #2
0
 private static bool IsFile(string path)
 {
     return(File.Exists(MagicValues.StripSurroundingDblQuotes(path)));
 }