Esempio n. 1
0
        public Task StartAsync(CancellationToken cancellationToken)
        {
            if (!FileExists(_options.OriginalQbxPath) || !FileExists(_options.NewQbxPath))
            {
                return(Task.CompletedTask);
            }

            using (kWhStorage originalStorageProvider = GetStorageProviderForPath(_options.OriginalQbxPath))
            {
                using (kWhStorage newStorageProvider = GetStorageProviderForPath(_options.NewQbxPath))
                {
                    originalStorageProvider.Merge(newStorageProvider);
                }
            }

            return(Task.CompletedTask);
        }