/// <summary> /// Ctor intended to be used by subclasses in order to create a clone. /// </summary> /// <param name="applicationSettings"></param> protected ApplicationSettings(ApplicationSettings applicationSettings) { WindowSettings mainWindowSettings = applicationSettings.MainWindowSettings; MainWindowSettings = mainWindowSettings != null?mainWindowSettings.Clone() : null; }
/// <summary> /// Default ctor. /// </summary> public ApplicationSettings() { MainWindowSettings = new WindowSettings(); }