public Grepifyv2(List <String> strFilenames) { foreach (String fileXML in strFilenames) { try { Grepifyv2File grepv2File = new Grepifyv2File(fileXML); myFiles.Add(grepv2File); } catch (Exception) { } } }
// Constructor public Grepifyv2(String strDirectory) { Console.WriteLine("Grepify v2"); foreach (String fileXML in Directory.GetFiles(strDirectory, "*.grepifyv2")) { try { Grepifyv2File grepv2File = new Grepifyv2File(fileXML); myFiles.Add(grepv2File); } catch (Exception) { } } }
// Constructor public Grepifyv2(String strDirectory) { Console.WriteLine("Grepify v2"); foreach (String fileXML in Directory.GetFiles(strDirectory,"*.grepifyv2")) { try { Grepifyv2File grepv2File = new Grepifyv2File(fileXML); myFiles.Add(grepv2File); } catch (Exception) { } } }
public Grepifyv2(List<String> strFilenames) { foreach (String fileXML in strFilenames) { try { Grepifyv2File grepv2File = new Grepifyv2File(fileXML); myFiles.Add(grepv2File); } catch (Exception) { } } }