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); }
public TagCommentReaderStartState(TagCommentReaderStateMachine stateMachine) : base(stateMachine) { }
protected TagCommentReaderState(TagCommentReaderStateMachine stateMachine) { StateMachine = stateMachine; }