/// <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); }
/// <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); }