C# 클래스 Unosquare.PassCore.Web.Startup

Represents this application's main class
파일 보기 프로젝트 열기: unosquare/passcore

공개 메소드들

메소드 설명
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