AjaxControlToolkit.AreaChart.OnInit C# (CSharp) Метод

OnInit() защищенный Метод

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Результат void
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            if(IsDesignMode)
                return;

            foreach(AreaChartSeries areaChartSeries in Series) {
                if(String.IsNullOrWhiteSpace(areaChartSeries.Name))
                    throw new Exception("Name is missing in the AreaChartSeries. Please provide a name in the AreaChartSeries.");
            }
        }
AreaChart