IRCPluginImpl.deserialiseConfigFrom

Loads configuration for this plugin from disk.

This does not proxy a call but merely loads configuration from disk for all struct variables annotated Settings.

"Returns" two associative arrays for missing entries and invalid entries via its two out parameters.

mixintemplate IRCPluginImpl(Flag!"debug_" debug_ = No.debug_, string module_ = __MODULE__)
@safe override
void
deserialiseConfigFrom
(
const string configFile
,
out string[][string] missingEntries
,
out string[][string] invalidEntries
)

Parameters

configFile string

String of the configuration file to read.

missingEntries string[][string]

Out reference of an associative array of string arrays of expected configuration entries that were missing.

invalidEntries string[][string]

Out reference of an associative array of string arrays of unexpected configuration entries that did not belong.

Meta