/// <summary> /// /// </summary> /// <param name="services"></param> /// <param name="assembly"></param> public static void RegisterAppServices(this IRSServiceCollection services, Assembly assembly) { List <Type> implementationTypes = AppServiceTypeFinder.Find(assembly); RegisterAppServices(services, implementationTypes); }
/// <summary> /// /// </summary> /// <param name="services"></param> /// <param name="path"></param> public static void RegisterAppServicesFromDirectory(this IRSServiceCollection services, string path) { List <Type> implementationTypes = AppServiceTypeFinder.FindFromDirectory(path); RegisterAppServices(services, implementationTypes); }
/// <summary> /// /// </summary> /// <param name="services"></param> public static void RegisterAppServices(this IRSServiceCollection services) { List <Type> implementationTypes = AppServiceTypeFinder.FindFromCompileLibraries(); RegisterAppServices(services, implementationTypes); }