Beispiel #1
0
        private void Window_Closing(object sender, CancelEventArgs e)
        {
            var jsonTextSetting  = setting.JsonText ??= new JsonTextSetting();
            var jsonPathsSetting = jsonTextSetting.JsonPaths ??= new List <string>();

            jsonPathsSetting.AddRange(jsonPaths);

            SettingSerializer.Save(setting);
        }