C# Class Openchain.Server.Startup

Exibir arquivo Open project: openchain/openchain

Public Methods

Method Description
Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerfactory, IConfiguration configuration, IStorageEngine store ) : void

Configures the services.

ConfigureServices ( IServiceCollection services ) : void
ConfigureServicesAsync ( IServiceCollection services ) : Task

Adds services to the dependency injection container.

Startup ( IHostingEnvironment application ) : System.Collections.Generic

Private Methods

Method Description
LogStartup ( ILogger logger, IHostingEnvironment environment ) : void

Method Details

Configure() public method

Configures the services.
public Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerfactory, IConfiguration configuration, IStorageEngine store ) : void
app IApplicationBuilder
env IHostingEnvironment
loggerfactory ILoggerFactory
configuration IConfiguration
store IStorageEngine
return void

ConfigureServices() public method

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

ConfigureServicesAsync() public method

Adds services to the dependency injection container.
public ConfigureServicesAsync ( IServiceCollection services ) : Task
services IServiceCollection The collection of services.
return Task

Startup() public method

public Startup ( IHostingEnvironment application ) : System.Collections.Generic
application IHostingEnvironment
return System.Collections.Generic