DynamicResourceManager(Type, String) Constructor
Creates a new instance of
DynamicResourceManager class that looks up resources in
compiled assemblies and resource XML files based on information from the specified
Type object.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public DynamicResourceManager(
Type resourceSource,
string? explicitResXBaseFileName = null
)
Public Sub New (
resourceSource As Type,
Optional explicitResXBaseFileName As String = Nothing
)
public:
DynamicResourceManager(
Type^ resourceSource,
String^ explicitResXBaseFileName = nullptr
)
new :
resourceSource : Type *
?explicitResXBaseFileName : string
(* Defaults:
let _explicitResXBaseFileName = defaultArg explicitResXBaseFileName null
*)
-> DynamicResourceManager
Parameters
- resourceSource Type
- A type from which the resource manager derives all information for finding resource files.
- explicitResXBaseFileName String (Optional)
- When the .resx file name will be constructed based on the
resourceSource parameter; otherwise, the given String will be used. This parameter is optional.
Default value: .