private void Run()
        {
            try
            {
                var tickCounter = new Pivoter.TickCounter(_cancellationToken, 10000000);
                var queryResults = QueryResults.Empty
                                               .SetParameters(QueryRequest.QueryParameters)
                                               .SetSourceRows(RowSource.ListRowItems());

                queryResults = RunAll(tickCounter, queryResults);
                QueryRequest.SetFinalQueryResults(queryResults);
            }
            catch (OperationCanceledException)
            {
                // ignore
            }
        }
Exemple #2
0
        private void Run()
        {
            try
            {
                var tickCounter  = new Pivoter.TickCounter(_cancellationToken, 10000000);
                var queryResults = QueryResults.Empty
                                   .SetParameters(QueryRequest.QueryParameters)
                                   .SetSourceRows(RowSource.ListRowItems());

                queryResults = RunAll(tickCounter, queryResults);
                QueryRequest.SetFinalQueryResults(queryResults);
            }
            catch (OperationCanceledException)
            {
                // ignore
            }
            catch (Exception ex)
            {
                QueryRequest.OnUnhandledException(ex);
            }
        }
Exemple #3
0
        protected QueryResults Pivot(Pivoter.TickCounter tickCounter, QueryResults results)
        {
            var pivoter = new Pivoter(results.Parameters.ViewInfo);

            return(results.SetPivotedRows(pivoter.ExpandAndPivot(tickCounter, results.SourceRows)));
        }