Beispiel #1
0
        public void merge()
        {
            try
            {
                OnMergingProgress(null, 0, mergeSourceFilepaths.Count()); // start the clock

                var ilr = new pwiz.CLI.util.IterationListenerRegistry();
                ilr.addListener(new IterationListenerProxy {
                    merger = this
                }, 1);
                Merger.Merge(mergeTargetFilepath, mergeSourceFilepaths.ToList(), 8, ilr);
            }
            catch (Exception e)
            {
                OnMergingProgress(e, 1, 1);
            }
        }
Beispiel #2
0
        public void merge()
        {
            try
            {
                OnMergingProgress(null, 0, mergeSourceFilepaths.Count()); // start the clock

                var ilr = new pwiz.CLI.util.IterationListenerRegistry();
                ilr.addListener(new IterationListenerProxy { merger = this }, 1);
                Merger.Merge(mergeTargetFilepath, mergeSourceFilepaths.ToList(), 8, ilr);
            }
            catch (Exception e)
            {
                OnMergingProgress(e, 1, 1);
            }
        }