Clear() public method

public Clear ( ) : void
return void
コード例 #1
0
        /// <summary>
        /// Action that execute calculating delays
        /// </summary>
        /// <param name="stackPanel">stack panel with selected combination</param>
        private void calculateDelay(StackPanel stackPanel)
        {
            calculationService.ChoseOption(stackPanel);
            delayArray = Array.ConvertAll(calculationService.CalculateDelay(), int.Parse);
            Delay.Clear();
            int i = 0;

            foreach (var item in delayArray)
            {
                i++;
                Delay.Add(new DataPoint(i, item));
            }
        }