Пример #1
0
        private static IReadOnlyCollection <Type> GetAvailableBootstrapperTypes()
        {
            var assemblies = GetAssemblyCatalog();

            var types = new DefaultTypeCatalog(assemblies);

            return(types.GetTypesAssignableTo <INancyBootstrapper>(TypeResolveStrategies.ExcludeNancy));
        }
Пример #2
0
        private static IReadOnlyCollection<Type> GetAvailableBootstrapperTypes()
        {
            var assemblies = GetAssemblyCatalog();

            var types = new DefaultTypeCatalog(assemblies);

            return types.GetTypesAssignableTo<INancyBootstrapper>(TypeResolveStrategies.ExcludeNancy);
        }