Пример #1
0
        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)));
        }
Пример #2
0
 public static IEnumerable <Assembly> GetAssemblies(this IReflectionService service)
 {
     return(service.GetMatchingAssemblies(new Regex(".*")));
 }