EnvironmentTagHelper Constructors

Definition

Overloads

EnvironmentTagHelper(IHostingEnvironment)

Creates a new EnvironmentTagHelper.

EnvironmentTagHelper(IWebHostEnvironment)

Creates a new EnvironmentTagHelper.

EnvironmentTagHelper(IHostingEnvironment)

Source:
EnvironmentTagHelper.cs
Source:
EnvironmentTagHelper.cs

Creates a new EnvironmentTagHelper.

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)

Parameters

hostingEnvironment
IHostingEnvironment

The IHostingEnvironment.

Applies to

EnvironmentTagHelper(IWebHostEnvironment)

Creates a new EnvironmentTagHelper.

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)

Parameters

hostingEnvironment
IWebHostEnvironment

The IHostingEnvironment.

Applies to