コード例 #1
0
        public void AddProcessor(StateProcessorBase newProcessor)
        {
            var last = _processors.LastOrDefault();
            if (last != null)
            {
                last.Next = newProcessor;
            }

            _processors.Add(newProcessor);
        }
コード例 #2
0
        public void AddProcessor(StateProcessorBase newProcessor)
        {
            var last = _processors.LastOrDefault();

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

            _processors.Add(newProcessor);
        }