public List <string> GetTopicImportUids() { lock (Importers) { return(Importers.Select(i => i.Key).ToList()); } }
/// <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))); }
private BankStatementImporterRepository CreateSubject() { return(new BankStatementImporterRepository(Importers.Select(i => i.Object))); }