EnvironmentTagHelper Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- Source:
- EnvironmentTagHelper.cs
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.