ResourceManagerStringLocalizer.GetAllStrings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAllStrings(Boolean) |
Gets all the resource strings. |
GetAllStrings(Boolean, CultureInfo) |
Returns all strings in the specified culture. |
GetAllStrings(Boolean)
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)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.