private static string SynchronizeDataset(XObject subscribed) { if (Dataset.ReadVariables(subscribed)) if (!GetLastIndex.Run()) return null; WriteDatasetInformation(); GetChangelog(); Changelog.Run(); Dataset.ProviderLastIndex = Dataset.GetProviderLastIndex(); Dataset.SaveFinalSettings(); return Dataset.GetDatasetIdFromElement(subscribed); }
private static void WaitForChangelogAndDownload() { GetChangelogStatus.Run(); Changelog.Get(SoapAction.GetChangelog.Run()).Wait(); }