コード例 #1
0
 /// <summary>
 /// This is the accept method in the visitor pattern used for performing an action on the node.
 /// </summary>
 /// <param name="visitor">The visitor object itself</param>
 /// <param name="parent">The parent object of the node</param>
 public override void Accept(IOwlVisitor visitor, Object parent)
 {
     visitor.Visit(this, parent);
 }
コード例 #2
0
ファイル: OwlEdge.cs プロジェクト: xiaoxiongnpu/owldotnetapi
 /// <summary>
 /// The virtual accept method which needs to be overridden by the subclasses in order to have a functional visitor
 /// </summary>
 /// <param name="visitor">The visitor used in the generator</param>
 /// <param name="parent">The parent object of the edge to be generated</param>
 public virtual void Accept(IOwlVisitor visitor, Object parent)
 {
     visitor.Visit(this, parent);
 }
コード例 #3
0
 /// <summary>
 /// This is the accept method in the visitor pattern used for performing an action on the node.
 /// </summary>
 /// <param name="visitor">The visitor object itself</param>
 /// <param name="parent">The parent object of the node</param>
 public override void Accept(IOwlVisitor visitor, Object parent)
 {
     visitor.Visit(this, parent);
 }
コード例 #4
0
 /// <summary>
 /// The virtual accept method which needs to be overridden by the subclasses in order to have a functional visitor
 /// </summary>
 /// <param name="visitor">The visitor doing all the work</param>
 /// <param name="parent">The parent object of the node to be generated</param>
 public virtual void Accept(IOwlVisitor visitor, Object parent)
 {
     visitor.Visit(this, parent);
 }