Ejemplo n.º 1
0
        /// <summary>
        /// Return data part of the config.
        /// </summary>
        /// <returns>IConfig class, only data.</returns>
        public IConfig GetIConfig()
        {
            log.Debug("Method entry.");

            IConfig ic = new IConfig();
            ic.WelcomeMessageFilePath = WelcomeMessageFilePath;
            ic.ArchivePath = ArchivePath;
            log.Debug("Method exit.");

            return ic;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Set the properties values.
        /// </summary>
        /// <param name="src">Another Config or IConfig instance.</param>
        public void Set(IConfig src)
        {
            log.Debug("Method entry.");

            WelcomeMessageFilePath = src.WelcomeMessageFilePath;
            ArchivePath = src.ArchivePath;

            log.Debug("Method exit.");
        }