示例#1
0
        /// <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;
        }
示例#2
0
 /// <summary>
 ///     Default ctor.
 /// </summary>
 public ApplicationSettings()
 {
     MainWindowSettings = new WindowSettings();
 }