Exemplo n.º 1
0
        public void ConfigureServices(IServiceCollection services)
        {
            SuktIocManage.Instance.SetServiceCollection(services);
            var context = new ConfigureServicesContext(services);

            services.AddSingleton(context);
            foreach (var contextcfg in Modules)
            {
                services.AddSingleton(contextcfg);
                contextcfg.ConfigureServices(context);
            }
        }
Exemplo n.º 2
0
 public virtual void ConfigureServices(ConfigureServicesContext context)
 {
 }