语言

StringLocalizer<TResourceSource>.GetAllStrings(Boolean) 方法

定义

获取所有资源字符串。

public:
 virtual System::Collections::Generic::IEnumerable<Microsoft::Extensions::Localization::LocalizedString ^> ^ GetAllStrings(bool includeParentCultures);
public System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString> GetAllStrings(bool includeParentCultures);
abstract member GetAllStrings : bool -> seq<Microsoft.Extensions.Localization.LocalizedString>
override this.GetAllStrings : bool -> seq<Microsoft.Extensions.Localization.LocalizedString>
Public Function GetAllStrings (includeParentCultures As Boolean) As IEnumerable(Of LocalizedString)

参数

includeParentCultures
Boolean

true 包含来自父区域性的字符串; false 否则。

返回

包含所有资源字符串的枚举。

实现

适用于