C# Класс Unosquare.PassCore.Web.Startup

Represents this application's main class
Показать файл Открыть проект

Открытые методы

Метод Описание
Configure ( IApplicationBuilder application, IHostingEnvironment environment, ILoggerFactory loggerFactory ) : void

This method gets called by the runtime. Use this method to configure the HTTP request pipeline. All arguments are provided through dependency injection

ConfigureServices ( IServiceCollection services ) : void

This method gets called by the runtime. Use this method to add services to the container. All arguments are provided through dependency injection

Main ( string args ) : void

Application's entry point

Startup ( IHostingEnvironment environment ) : Microsoft.AspNet.Builder

Initializes a new instance of the Startup class. This class gets instantiatied by the Main method. The hosting environment gets provided via DI

Описание методов

Configure() публичный Метод

This method gets called by the runtime. Use this method to configure the HTTP request pipeline. All arguments are provided through dependency injection
public Configure ( IApplicationBuilder application, IHostingEnvironment environment, ILoggerFactory loggerFactory ) : void
application IApplicationBuilder The application.
environment IHostingEnvironment The environment.
loggerFactory ILoggerFactory The logger factory.
Результат void

ConfigureServices() публичный Метод

This method gets called by the runtime. Use this method to add services to the container. All arguments are provided through dependency injection
public ConfigureServices ( IServiceCollection services ) : void
services IServiceCollection The services.
Результат void

Main() публичный статический Метод

Application's entry point
public static Main ( string args ) : void
args string
Результат void

Startup() публичный Метод

Initializes a new instance of the Startup class. This class gets instantiatied by the Main method. The hosting environment gets provided via DI
public Startup ( IHostingEnvironment environment ) : Microsoft.AspNet.Builder
environment IHostingEnvironment The environment.
Результат Microsoft.AspNet.Builder