C# Class Microsoft.Legal.MatterCenter.Service.Startup

显示文件 Open project: Microsoft/mattercenter

Public Methods

Method Description
Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void

This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

ConfigureServices ( IServiceCollection services ) : void
Main ( string args ) : void
Startup ( IHostingEnvironment env, IApplicationEnvironment appEnv, ILoggerFactory logger ) : System

Private Methods

Method Description
CheckAuthorization ( IApplicationBuilder app ) : void
ConfigureMatterPackages ( IServiceCollection services ) : void
ConfigureMvc ( IServiceCollection services, ILoggerFactory logger ) : void
ConfigureSettings ( IServiceCollection services ) : void
ConfigureSwagger ( IServiceCollection services ) : void

Method Details

Configure() public method

This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
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

Main() public static method

public static Main ( string args ) : void
args string
return void

Startup() public method

public Startup ( IHostingEnvironment env, IApplicationEnvironment appEnv, ILoggerFactory logger ) : System
env IHostingEnvironment
appEnv IApplicationEnvironment
logger ILoggerFactory
return System