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

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

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

            RegisterAppServices(services, implementationTypes);
        }