C# Class Google.Ads.GoogleAds.Examples.Startup

The startup object where the service is configured.
显示文件 Open project: googleads/google-ads-dotnet

Public Methods

Method Description
Configure ( IApplicationBuilder app, IWebHostEnvironment env ) : void

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

ConfigureServices ( IServiceCollection services ) : void

This method gets called by the runtime. Use this method to add services to the container.

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, IWebHostEnvironment env ) : void
app IApplicationBuilder The application builder.
env IWebHostEnvironment The web hosting environment.
return void

ConfigureServices() public method

This method gets called by the runtime. Use this method to add services to the container.
public ConfigureServices ( IServiceCollection services ) : void
services IServiceCollection The collection of services.
return void