internal BubblesTaskFactory(BubbleMatrixViewModel bubbleMatrix) { if (bubbleMatrix == null) { throw new ArgumentNullException("bubbleMatrix"); } _bubbleMatrix = bubbleMatrix; }
internal BubbleFactory(BubbleMatrixViewModel bubbleMatrix) { if (bubbleMatrix == null) { throw new ArgumentNullException("bubbleMatrix"); } _bubbleMatrix = bubbleMatrix; _bubbleStagingArea = new List <BubbleViewModel>(); _timer = new DispatcherTimer { Interval = TimeSpan.FromMilliseconds(10) }; _timer.Tick += this.HandleTimerTick; }