C# Class BooksServiceAsyncSample.Startup

显示文件 Open project: ProfessionalCSharp/ProfessionalCSharp6

Public Methods

Method Description
Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void
ConfigureServices ( IServiceCollection services ) : void
Startup ( IHostingEnvironment env ) : BooksServiceSample.Models

Private Methods

Method Description
EnsureDatabaseCreated ( ) : void

Method Details

Configure() public method

public Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void
app IApplicationBuilder
env IHostingEnvironment
loggerFactory ILoggerFactory
return void

ConfigureServices() public method

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

Startup() public method

public Startup ( IHostingEnvironment env ) : BooksServiceSample.Models
env IHostingEnvironment
return BooksServiceSample.Models