MustRegisterSubSection
No overview available.
def MustRegisterSubSection(
key: config.SectionKey,
cfg: config.Config
) - > config.Section
Registers a new configuration section with the provided key and configuration. This function is used to define and initialize a specific subsection within the application's configuration structure.
Parameters
| Name | Type | Description |
|---|---|---|
| key | config.SectionKey | The unique identifier for the configuration section to be registered. |
| cfg | config.Config | The configuration object containing settings and values for the new section. |
Returns
| Type | Description |
|---|---|
config.Section | The newly registered configuration section. |