EnvironmentTagHelper Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| EnvironmentTagHelper(IHostingEnvironment) |
Crea un nuevo EnvironmentTagHelper. |
| EnvironmentTagHelper(IWebHostEnvironment) |
Crea un nuevo EnvironmentTagHelper. |
EnvironmentTagHelper(IHostingEnvironment)
Crea un nuevo 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)
Parámetros
- hostingEnvironment
- IHostingEnvironment
Se aplica a
EnvironmentTagHelper(IWebHostEnvironment)
Crea un nuevo 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)
Parámetros
- hostingEnvironment
- IWebHostEnvironment