|
using System;
namespace DataStructuresDotNet.Visitors
{
/// <summary>
/// Provides an interface for visitors.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IVisitor<T>
{
/// <summary>
/// Gets a value indicating whether this instance is done performing it's work..
/// </summary>
/// <value><c>true</c> if this instance is done; otherwise, <c>false</c>.</value>
bool HasCompleted { get; }
/// <summary>
/// Visits the specified object.
/// </summary>
/// <param name="obj">The object to visit.</param>
void Visit(T obj);
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
The author is a software consultant in South Africa, specializing in bespoke software solutions.