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

The startup object where the service is configured.
Afficher le fichier Open project: googleads/google-ads-dotnet

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

ConfigureServices() public méthode

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.
Résultat void