/// <summary>
        /// Tries to get a section of this type from the config.
        /// </summary>
        /// <param name="mgr">The config manager.</param>
        /// <param name="provider">The provider to redirect to, if found.</param>
        /// <returns><see langword="true"/> if found, otherwise <see langword="false"/></returns>
        internal static bool TryGetRedirect(IConfigManager mgr, out IConfigProvider provider)
        {
            var cfgRedir = mgr.GetSettings<ConfigurationRedirect>();

            provider = null;

            if (cfgRedir != null)
            {
                provider = cfgRedir.ActualProvider;
            }

            return (provider != null);
        }