コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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);
        }
コード例 #3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="services"></param>
        public static void RegisterAppServices(this IRSServiceCollection services)
        {
            List <Type> implementationTypes = AppServiceTypeFinder.FindFromCompileLibraries();

            RegisterAppServices(services, implementationTypes);
        }