Exemplo n.º 1
0
        public string Read()
        {
            var stateMachine = new TagCommentReaderStateMachine();

            foreach (var item in _content)
            {
                stateMachine.Accept(item);
            }

            var result = stateMachine.ToString();

            //Console.WriteLine("State machine built this (from XML comments): '{0}'", result);
            return(result);
        }
Exemplo n.º 2
0
 public TagCommentReaderStartState(TagCommentReaderStateMachine stateMachine)
     : base(stateMachine)
 {
 }
Exemplo n.º 3
0
 protected TagCommentReaderState(TagCommentReaderStateMachine stateMachine)
 {
     StateMachine = stateMachine;
 }