BudgetAnalyser.ReportsCatalog.LongTermSpendingLineGraph.LongTermSpendingGraphController.LongTermSpendingGraphController C# (CSharp) 메소드

LongTermSpendingGraphController() 공개 메소드

public LongTermSpendingGraphController ( [ chartService, IUserMessageBox messageService ) : System
chartService [
messageService IUserMessageBox
리턴 System
        public LongTermSpendingGraphController([NotNull] ILongTermSpendingChartService chartService, IUserMessageBox messageService)
        {
            if (chartService == null)
            {
                throw new ArgumentNullException(nameof(chartService));
            }

            if (messageService == null) throw new ArgumentNullException(nameof(messageService));

            this.chartService = chartService;
            this.messageService = messageService;
            ToggleAll = true;
        }