• Create or return a dynamic version of the passed config, if it is not already dynamic

    Type Parameters

    Parameters

    • config: T

      The config to be converted into a dynamic config

    • OptionaldefaultConfig: IConfigDefaults<T, IConfiguration>

      The default values to apply on the config if the properties don't already exist

    • Optionallogger: IDiagnosticLogger
    • OptionalinPlace: boolean

      Should the config be converted in-place into a dynamic config or a new instance returned, defaults to true

    Returns IDynamicConfigHandler<T>

    The dynamic config handler for the config (whether new or existing)