Udostępnij za pośrednictwem


ResourceManagerStringLocalizer.GetAllStrings Method

Definition

Overloads

GetAllStrings(Boolean)

Gets all the resource strings.

GetAllStrings(Boolean, CultureInfo)

Returns all strings in the specified culture.

GetAllStrings(Boolean)

Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs

Gets all the resource strings.

public:
 virtual System::Collections::Generic::IEnumerable<Microsoft::Extensions::Localization::LocalizedString ^> ^ GetAllStrings(bool includeParentCultures);
public virtual 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 Overridable Function GetAllStrings (includeParentCultures As Boolean) As IEnumerable(Of LocalizedString)

Parameters

includeParentCultures
Boolean

true to include strings from parent cultures; false otherwise.

Returns

An enumeration that contains all the resource strings.

Implements

Applies to

GetAllStrings(Boolean, CultureInfo)

Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs

Returns all strings in the specified culture.

protected:
 System::Collections::Generic::IEnumerable<Microsoft::Extensions::Localization::LocalizedString ^> ^ GetAllStrings(bool includeParentCultures, System::Globalization::CultureInfo ^ culture);
protected System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString> GetAllStrings (bool includeParentCultures, System.Globalization.CultureInfo culture);
member this.GetAllStrings : bool * System.Globalization.CultureInfo -> seq<Microsoft.Extensions.Localization.LocalizedString>
Protected Iterator Function GetAllStrings (includeParentCultures As Boolean, culture As CultureInfo) As IEnumerable(Of LocalizedString)

Parameters

includeParentCultures
Boolean

Whether to include parent cultures in the search for a resource.

culture
CultureInfo

The CultureInfo to get strings for.

Returns

The strings.

Applies to