Partilhar via


ViewLocalizer Construtores

Definição

Sobrecargas

ViewLocalizer(IHtmlLocalizerFactory, IHostingEnvironment)

Cria um novo ViewLocalizer.

ViewLocalizer(IHtmlLocalizerFactory, IWebHostEnvironment)

Cria um novo ViewLocalizer.

ViewLocalizer(IHtmlLocalizerFactory, IHostingEnvironment)

Origem:
ViewLocalizer.cs
Origem:
ViewLocalizer.cs

Cria um novo 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

Aplica-se a

ViewLocalizer(IHtmlLocalizerFactory, IWebHostEnvironment)

Origem:
ViewLocalizer.cs

Cria um novo 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

Aplica-se a