Пример #1
0
 public List <string> GetTopicImportUids()
 {
     lock (Importers)
     {
         return(Importers.Select(i => i.Key).ToList());
     }
 }
Пример #2
0
 /// <summary>
 /// Returns a value indicating whether or not there is an importer for the given extension
 /// </summary>
 public static bool IsValidMovieExtension(string extension)
 {
     return(Importers
            .Select(i => i.Value)
            .Any(e => string.Equals(extension, e.Extension, StringComparison.OrdinalIgnoreCase)));
 }
Пример #3
0
 private BankStatementImporterRepository CreateSubject()
 {
     return(new BankStatementImporterRepository(Importers.Select(i => i.Object)));
 }