Пример #1
0
 private KeySearchResult findKey(string key, string[] lines)
 {
     return(KeySearchResult.FindKey(key, lines));
 }
Пример #2
0
 private KeySearchResult findKey(string key)
 {
     string[] content = File.Exists(filePath) ? File.ReadAllLines(filePath, encoding) : new string[0];
     return(KeySearchResult.FindKey(key, content));
 }