Ejemplo n.º 1
0
 /// <summary>
 /// Register a module (like a category) of services
 /// </summary>
 /// <param name="services"></param>
 /// <param name="module"></param>
 public static void RegisterModule(this IServiceCollection services, ShinyModule module)
 {
     module.Register(services);
     StartupModule.AddModule(module);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Register a module (like a category) of services
 /// </summary>
 /// <param name="services"></param>
 /// <param name="module"></param>
 public static void RegisterModule(this IServiceCollection services, ShinyModule module)
 {
     module.Register(services);
     services.RegisterPostBuildAction(module.OnContainerReady);
 }