共用方式為


StringLocalizerExtensions.GetAllStrings(IStringLocalizer) 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::Extensions::Localization::IStringLocalizer ^ stringLocalizer);
public static System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString> GetAllStrings (this Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer);
static member GetAllStrings : Microsoft.Extensions.Localization.IStringLocalizer -> seq<Microsoft.Extensions.Localization.LocalizedString>
<Extension()>
Public Function GetAllStrings (stringLocalizer As IStringLocalizer) As IEnumerable(Of LocalizedString)

Parameters

stringLocalizer
IStringLocalizer

The IStringLocalizer.

Returns

The string resources.

Applies to