2 interfaces inheriting from IHtmlLocalizer
Microsoft.AspNetCore.Mvc.Localization (2)
IHtmlLocalizerOfT.cs (1)
10
public interface IHtmlLocalizer<TResource> :
IHtmlLocalizer
IViewLocalizer.cs (1)
9
public interface IViewLocalizer :
IHtmlLocalizer
1 implementation of IHtmlLocalizer
Microsoft.AspNetCore.Mvc.Localization (1)
HtmlLocalizer.cs (1)
12
public class HtmlLocalizer :
IHtmlLocalizer
21 references to IHtmlLocalizer
Microsoft.AspNetCore.Mvc.Localization (21)
HtmlLocalizer.cs (1)
9
/// An <see cref="
IHtmlLocalizer
"/> that uses the provided <see cref="IStringLocalizer"/> to do HTML-aware
HtmlLocalizerExtensions.cs (7)
9
/// Extension methods for <see cref="
IHtmlLocalizer
"/>.
16
/// <param name="htmlLocalizer">The <see cref="
IHtmlLocalizer
"/>.</param>
19
public static LocalizedHtmlString GetHtml(this
IHtmlLocalizer
htmlLocalizer, string name)
30
/// <param name="htmlLocalizer">The <see cref="
IHtmlLocalizer
"/>.</param>
34
public static LocalizedHtmlString GetHtml(this
IHtmlLocalizer
htmlLocalizer, string name, params object[] arguments)
45
/// <param name="htmlLocalizer">The <see cref="
IHtmlLocalizer
"/>.</param>
47
public static IEnumerable<LocalizedString> GetAllStrings(this
IHtmlLocalizer
htmlLocalizer)
HtmlLocalizerFactory.cs (2)
32
public virtual
IHtmlLocalizer
Create(Type resourceSource)
45
public virtual
IHtmlLocalizer
Create(string baseName, string location)
HtmlLocalizerOfT.cs (2)
9
/// An <see cref="
IHtmlLocalizer
"/> implementation that provides localized HTML content for the specified type
15
private readonly
IHtmlLocalizer
_localizer;
IHtmlLocalizerFactory.cs (7)
7
/// A factory that creates <see cref="
IHtmlLocalizer
"/> instances.
12
/// Creates an <see cref="
IHtmlLocalizer
"/> using the <see cref="System.Reflection.Assembly"/> and
16
/// <returns>The <see cref="
IHtmlLocalizer
"/>.</returns>
17
IHtmlLocalizer
Create(Type resourceSource);
20
/// Creates an <see cref="
IHtmlLocalizer
"/>.
24
/// <returns>The <see cref="
IHtmlLocalizer
"/>.</returns>
25
IHtmlLocalizer
Create(string baseName, string location);
IHtmlLocalizerOfT.cs (1)
7
/// An <see cref="
IHtmlLocalizer
"/> that provides localized HTML content.
ViewLocalizer.cs (1)
21
private
IHtmlLocalizer
_localizer = default!;