Beispiel #1
0
        public static void RegisterAppServices(this IServiceCollection services, Assembly assembly)
        {
            List <Type> implementationTypes = AppServiceTypeFinder.Find(assembly);

            RegisterAppServices(services, implementationTypes);
        }
Beispiel #2
0
        public static void RegisterAppServicesFromDirectory(this IServiceCollection services, string path)
        {
            List <Type> implementationTypes = AppServiceTypeFinder.FindFromDirectory(path);

            RegisterAppServices(services, implementationTypes);
        }
Beispiel #3
0
        public static void RegisterAppServices(this IServiceCollection services)
        {
            List <Type> implementationTypes = AppServiceTypeFinder.FindFromCompileLibraries();

            RegisterAppServices(services, implementationTypes);
        }