/// <summary> /// Processes the json response. /// </summary> /// <param name="json">The json.</param> /// <param name="remoteData">The remote data.</param> public override void ProcessJsonResponse(Dictionary <string, object> json, RemoteData remoteData) { object statusInfo = json.ValueOrDefault("StatusInfo"); if (statusInfo != null) { Exception error = this.HandleStatusInfo(statusInfo); if (error != null) { this.ProcessErrorWithRemoteData(error, remoteData); return; } } object updatedWebConfigurationValues = json.ValueOrDefault("WebConfigValue"); if (updatedWebConfigurationValues != null) { IConfigurationUnitStore configStore = ConfigurationUnitStore.DefaultStore; UPSyncConfiguration syncConfiguration = new UPSyncConfiguration(configStore); //syncConfiguration.SyncElementsOfUnitType(updatedWebConfigurationValues, "WebConfigValue", true); configStore.Reset(); ServerSession.CurrentSession.LoadApplicationSettings(); } this.TheDelegate.ChangeConfigurationRequestDidFinishWithResult(this, null); }