Compartir a través de


ViewLocalizer Constructores

Definición

Sobrecargas

ViewLocalizer(IHtmlLocalizerFactory, IHostingEnvironment)

Crea un nuevo ViewLocalizer.

ViewLocalizer(IHtmlLocalizerFactory, IWebHostEnvironment)

Crea un nuevo ViewLocalizer.

ViewLocalizer(IHtmlLocalizerFactory, IHostingEnvironment)

Source:
ViewLocalizer.cs
Source:
ViewLocalizer.cs

Crea un nuevo ViewLocalizer.

public:
 ViewLocalizer(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizerFactory ^ localizerFactory, Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment);
public ViewLocalizer (Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory localizerFactory, Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment);
new Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory * Microsoft.AspNetCore.Hosting.IHostingEnvironment -> Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer
Public Sub New (localizerFactory As IHtmlLocalizerFactory, hostingEnvironment As IHostingEnvironment)

Parámetros

Se aplica a

ViewLocalizer(IHtmlLocalizerFactory, IWebHostEnvironment)

Source:
ViewLocalizer.cs

Crea un nuevo ViewLocalizer.

public:
 ViewLocalizer(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizerFactory ^ localizerFactory, Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ hostingEnvironment);
public ViewLocalizer (Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory localizerFactory, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment);
new Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory * Microsoft.AspNetCore.Hosting.IWebHostEnvironment -> Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer
Public Sub New (localizerFactory As IHtmlLocalizerFactory, hostingEnvironment As IWebHostEnvironment)

Parámetros

Se aplica a