public static IEnumerable <Assembly> GetMatchingAssemblies(this IReflectionService service, string regex) { Guard.AgainstNull(service, nameof(service)); Guard.AgainstNullOrEmptyString(regex, nameof(regex)); return(service.GetMatchingAssemblies(new Regex(regex))); }
public static IEnumerable <Assembly> GetAssemblies(this IReflectionService service) { return(service.GetMatchingAssemblies(new Regex(".*"))); }