public void Initialize(UserSettings settings) { if (settings == null) { throw new ArgumentNullException(nameof(settings)); } Source = settings; Settings = settings.Clone(); }
public void Load() { UserSettings settings = UserSettings.GetUserSettings(this.Source); if (settings != null) { this._settings = settings.Clone(); } }