예제 #1
0
 /// <summary>
 /// Configures modules.
 /// </summary>
 /// <param name="app"><see cref="IApplicationBuilder"/> instance.</param>
 /// <param name="env"><see cref="IHostingEnvironment"/> instance.</param>
 /// <param name="logger"><see cref="ILoggerFactory"/> instance.</param>
 /// <remarks>This method gets called by the runtime. Use this method to configure the HTTP request pipeline.</remarks>
 public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory logger)
 {
     LoggerConfig.Register(logger, this.Configuration);
     EnvironmentConfig.Register(app, env);
     WebServerConfig.Register(app, this.Configuration);
 }