Table of Contents

Method GetResourceSet

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

GetResourceSet(CultureInfo, bool, bool)

Looks up a set of resources for a particular CultureInfo. This is not useful for most users of the ResourceManager

  • call GetString() or GetObject() instead. The parameters let you control whether the ResourceSet is created if it hasn't yet been loaded and if parent CultureInfos should be loaded as well for resource inheritance.
public static ResourceSet? GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents)

Parameters

culture CultureInfo
createIfNotExists bool
tryParents bool

Returns

ResourceSet

GetResourceSet(CultureInfo, bool, bool, Func<DictionaryEntry, bool>?)

Looks up a set of resources for a particular CultureInfo. This is not useful for most users of the ResourceManager

  • call GetString() or GetObject() instead. The parameters let you control whether the ResourceSet is created if it hasn't yet been loaded and if parent CultureInfos should be loaded as well for resource inheritance. Allows filtering of resources.
public static ResourceSet? GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents, Func<DictionaryEntry, bool>? filter)

Parameters

culture CultureInfo
createIfNotExists bool
tryParents bool
filter Func<DictionaryEntry, bool>

Returns

ResourceSet