ResourceManagerStringLocalizer.GetAllStrings Metod

Definition

Överlagringar

Name Description
GetAllStrings(Boolean)

Hämtar alla resurssträngar.

GetAllStrings(Boolean, CultureInfo)

Returnerar alla strängar i den angivna kulturen.

GetAllStrings(Boolean)

Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs

Hämtar alla resurssträngar.

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)

Parametrar

includeParentCultures
Boolean

true för att inkludera strängar från överordnade kulturer; false Annars.

Returer

En uppräkning som innehåller alla resurssträngar.

Implementeringar

Gäller för

GetAllStrings(Boolean, CultureInfo)

Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs
Källa:
ResourceManagerStringLocalizer.cs

Returnerar alla strängar i den angivna kulturen.

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)

Parametrar

includeParentCultures
Boolean

Om överordnade kulturer ska inkluderas i sökningen efter en resurs.

culture
CultureInfo

Att CultureInfo hämta strängar för.

Returer

Strängarna.

Gäller för