Example #1
0
 /// <summary>
 /// Accepts the specified visitor by calling its Visit method.
 /// </summary>
 /// <typeparam name="TValue">The type of the value.</typeparam>
 /// <param name="visitor">The visitor.</param>
 /// <returns>Visitor-specific value.</returns>
 public override TValue Accept <TValue>(IPrimitiveDataTypeVisitor <TValue> visitor)
 {
     return(visitor.Visit(this));
 }
Example #2
0
 /// <summary>
 /// Accepts the specified visitor by calling its Visit method.
 /// </summary>
 /// <typeparam name="TValue">The type of the value.</typeparam>
 /// <param name="visitor">The visitor.</param>
 /// <returns>Visitor-specific value.</returns>
 public abstract TValue Accept <TValue>(IPrimitiveDataTypeVisitor <TValue> visitor);