Ejemplo n.º 1
0
        /// <summary>
        /// Configuration of services
        /// </summary>
        /// <param name="serviceProvider"></param>
        public void Configure(IServiceProvider serviceProvider)
        {
            //serviceProvider.UserSomething();

            ILoggerFactory loggerFactory = serviceProvider.GetService <ILoggerFactory>();

            loggerFactory.AddConsole();


            IBiz biz = serviceProvider.GetService <IBiz>();

            biz.Run();
        }