EnvironmentTagHelper Constructeurs

Définition

Surcharges

EnvironmentTagHelper(IHostingEnvironment)

Crée un EnvironmentTagHelper.

EnvironmentTagHelper(IWebHostEnvironment)

Crée un EnvironmentTagHelper.

EnvironmentTagHelper(IHostingEnvironment)

public:
 EnvironmentTagHelper(Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment);
public EnvironmentTagHelper (Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment);
new Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper : Microsoft.AspNetCore.Hosting.IHostingEnvironment -> Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper
Public Sub New (hostingEnvironment As IHostingEnvironment)

Paramètres

hostingEnvironment
IHostingEnvironment

L’IHostingEnvironmentopérateur

S’applique à

EnvironmentTagHelper(IWebHostEnvironment)

public:
 EnvironmentTagHelper(Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ hostingEnvironment);
public EnvironmentTagHelper (Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment);
new Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper : Microsoft.AspNetCore.Hosting.IWebHostEnvironment -> Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper
Public Sub New (hostingEnvironment As IWebHostEnvironment)

Paramètres

hostingEnvironment
IWebHostEnvironment

L’IHostingEnvironmentopérateur

S’applique à