/// <summary>
        /// Property which merges the 'new' API keys with multi-commander support with the old legacy single-commander one
        /// </summary>
        private IReadOnlyDictionary <string, string> GetActualApiKeys()
        {
            var pluginSettings = SettingsFacade.GetPluginSettings(GlobalSettings);
            var config         = pluginSettings.ApiKeys.ToDictionary();

#pragma warning disable CS0618 // Type or member is obsolete
#pragma warning disable CS0612 // Type or member is obsolete
            string legacyCmdrName = GlobalSettings.CommanderName;
            string legacyApiKey   = pluginSettings.ApiKey;
#pragma warning restore CS0612 // Type or member is obsolete
#pragma warning restore CS0618 // Type or member is obsolete

            if (!string.IsNullOrEmpty(legacyCmdrName) && !string.IsNullOrEmpty(legacyApiKey) && !config.ContainsKey(legacyCmdrName))
            {
                config.Add(legacyCmdrName, legacyApiKey);
            }

            return(config);
        }