/// <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; }
/// <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."); }