예제 #1
0
 /// <summary>
 /// Called when this object is visiting a <see cref="YamlStream"/>.
 /// </summary>
 /// <param name="stream">
 /// The <see cref="YamlStream"/> that is being visited.
 /// </param>
 protected virtual void Visit(YamlStream stream)
 {
     VisitChildren(stream);
 }
예제 #2
0
 /// <summary>
 /// Called after this object finishes visiting a <see cref="YamlStream"/>.
 /// </summary>
 /// <param name="stream">
 /// The <see cref="YamlStream"/> that has been visited.
 /// </param>
 protected virtual void Visited(YamlStream stream)
 {
     // Do nothing.
 }
예제 #3
0
 void IYamlVisitor.Visit(YamlStream stream)
 {
     Visit(stream);
     Visited(stream);
 }