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;
        }