Inheritance: Rees.Wpf.ControllerBase
Ejemplo n.º 1
0
        protected virtual BucketBurnDownController BuildBucketBurnDownController(BurnDownChartAnalyserResult analysis)
        {
            var controller = new BucketBurnDownController();

            controller.Load(analysis);
            return(controller);
        }
Ejemplo n.º 2
0
        private void OnAddChartCommandExecuted()
        {
            if (!this.addUserDefinedBurnDownController.AddChart())
            {
                return;
            }

            List <BudgetBucket>         buckets = this.addUserDefinedBurnDownController.SelectedBuckets.ToList();
            BurnDownChartAnalyserResult result  = this.chartsService.CreateNewCustomAggregateChart(
                this.statement,
                this.budget,
                buckets,
                this.ledgerBook,
                this.beginDate,
                this.addUserDefinedBurnDownController.ChartTitle);
            BucketBurnDownController newChart = BuildBucketBurnDownController(result);

            ChartControllers.Insert(0, newChart);
        }
 protected virtual BucketBurnDownController BuildBucketBurnDownController(BurnDownChartAnalyserResult analysis)
 {
     var controller = new BucketBurnDownController();
     controller.Load(analysis);
     return controller;
 }