Dela via


HtmlLocalizerExtensions.GetAllStrings(IHtmlLocalizer) Method

Definition

Gets all string resources including those for parent cultures.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::Extensions::Localization::LocalizedString ^> ^ GetAllStrings(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer);
public static System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString> GetAllStrings (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer);
static member GetAllStrings : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer -> seq<Microsoft.Extensions.Localization.LocalizedString>
<Extension()>
Public Function GetAllStrings (htmlLocalizer As IHtmlLocalizer) As IEnumerable(Of LocalizedString)

Parameters

htmlLocalizer
IHtmlLocalizer

The IHtmlLocalizer.

Returns

The string resources.

Applies to