public void AddProcessor(StateProcessorBase newProcessor)
        {
            var last = _processors.LastOrDefault();
            if (last != null)
            {
                last.Next = newProcessor;
            }

            _processors.Add(newProcessor);
        }
        public void AddProcessor(StateProcessorBase newProcessor)
        {
            var last = _processors.LastOrDefault();

            if (last != null)
            {
                last.Next = newProcessor;
            }

            _processors.Add(newProcessor);
        }