HybridResourceManagerGetExpandoResourceSet Method
Retrieves the resource set for a particular culture, which can be dynamically modified.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public virtual IExpandoResourceSet? GetExpandoResourceSet(
CultureInfo culture,
ResourceSetRetrieval behavior = ResourceSetRetrieval.LoadIfExists,
bool tryParents = false
)
Public Overridable Function GetExpandoResourceSet (
culture As CultureInfo,
Optional behavior As ResourceSetRetrieval = ResourceSetRetrieval.LoadIfExists,
Optional tryParents As Boolean = false
) As IExpandoResourceSet
public:
virtual IExpandoResourceSet^ GetExpandoResourceSet(
CultureInfo^ culture,
ResourceSetRetrieval behavior = ResourceSetRetrieval::LoadIfExists,
bool tryParents = false
)
abstract GetExpandoResourceSet :
culture : CultureInfo *
?behavior : ResourceSetRetrieval *
?tryParents : bool
(* Defaults:
let _behavior = defaultArg behavior ResourceSetRetrieval.LoadIfExists
let _tryParents = defaultArg tryParents false
*)
-> IExpandoResourceSet
override GetExpandoResourceSet :
culture : CultureInfo *
?behavior : ResourceSetRetrieval *
?tryParents : bool
(* Defaults:
let _behavior = defaultArg behavior ResourceSetRetrieval.LoadIfExists
let _tryParents = defaultArg tryParents false
*)
-> IExpandoResourceSet
- culture CultureInfo
- The culture whose resources are to be retrieved.
- behavior ResourceSetRetrieval (Optional)
- Determines the retrieval behavior of the result IExpandoResourceSet. This parameter is optional.
Default value: LoadIfExists. - tryParents Boolean (Optional)
- to use resource fallback to load an appropriate resource if the resource set cannot be found; to bypass the resource fallback process. This parameter is optional.
Default value: .
IExpandoResourceSetThe resource set for the specified culture, or
if the specified culture cannot be retrieved by the defined
behavior,
or when
Source is
CompiledOnly so it cannot return an
IExpandoResourceSet instance.
IExpandoResourceManagerGetExpandoResourceSet(CultureInfo, ResourceSetRetrieval, Boolean)