public void RegisterFormatters(Assembly assembly) { var newMetaFormatters = assembly .GetTypes() .Where(type => MetaFormatter.IsFormatterType(type)) .Select(formatterType => new MetaFormatter(formatterType)); foreach (MetaFormatter newMetaFormatter in newMetaFormatters) { RegisterFormatter(newMetaFormatter); } }