C# Class AllReady.Startup

显示文件 Open project: HTBox/allReady

Public Methods

Method Description
Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, SampleDataGenerator sampleData, AllReadyContext context, IConfiguration configuration ) : void
ConfigureServices ( IServiceCollection services ) : IServiceProvider
Startup ( IHostingEnvironment env ) : System

Private Methods

Method Description
CreateIoCContainer ( IServiceCollection services ) : IContainer

Method Details

Configure() public method

public Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, SampleDataGenerator sampleData, AllReadyContext context, IConfiguration configuration ) : void
app IApplicationBuilder
env IHostingEnvironment
loggerFactory ILoggerFactory
sampleData SampleDataGenerator
context AllReadyContext
configuration IConfiguration
return void

ConfigureServices() public method

public ConfigureServices ( IServiceCollection services ) : IServiceProvider
services IServiceCollection
return IServiceProvider

Startup() public method

public Startup ( IHostingEnvironment env ) : System
env IHostingEnvironment
return System