コード例 #1
0
        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);
        }
コード例 #2
0
        private static void WaitForChangelogAndDownload()
        {
            GetChangelogStatus.Run();

            Changelog.Get(SoapAction.GetChangelog.Run()).Wait();
        }