Exemplo n.º 1
0
        /// <summary>
        /// Tries to load the configuration from the current directory.
        /// </summary>
        /// <returns>Read configuration.</returns>
        virtual protected SanitizedConfiguration LoadConfiguration()
        {
            SanitizedConfiguration result;

            result = ConfigIO.ReadConfigFileFromCurrentDirectory();
            if (result == null)
            {
                _commonLogger.NoConfigurationFound();
            }

            return(result);
        }