コード例 #1
0
        void Do(EnsureAllCellsAreRunningUnlessCancelledCommand command, CancellationToken cancellationToken)
        {
            if (cancellationToken.IsCancellationRequested)
            {
                return;
            }

            foreach (var cell in _cells)
            {
                cell.Value.EnsureIsRunningUnlessCancelled();
            }
        }
コード例 #2
0
        void Do(EnsureAllCellsAreRunningUnlessCancelledCommand command, CancellationToken cancellationToken)
        {
            if (cancellationToken.IsCancellationRequested)
            {
                return;
            }

            foreach (var cell in _cells)
            {
                cell.Value.EnsureIsRunningUnlessCancelled();
            }
        }