예제 #1
0
        public LocalSequence NewLocalSequence(string name)
        {
            var sequence = new LocalSequence(name, this);

            _localSequences.Add(sequence);
            return(sequence);
        }
예제 #2
0
        private void ExecuteLocalOperations(IReportStatus status, ConDepSettings settings, CancellationToken token)
        {
            Logger.WithLogSection("Local Operations", () =>
            {
                foreach (var localSequence in _localSequences)
                {
                    token.ThrowIfCancellationRequested();

                    LocalSequence sequence = localSequence;
                    Logger.WithLogSection(localSequence.Name, () => sequence.Execute(status, settings, token));
                }
            });
        }