Example #1
0
        public static IEnumerable <Type> GetTypesAssignableTo <T>(this IReflectionService service, Assembly assembly)
        {
            Guard.AgainstNull(service, nameof(service));

            return(service.GetTypesAssignableTo(typeof(T), assembly));
        }