/* Copyright 2007-2013 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the GNU Lesser General Public License (LGPL). You should have received a copy of the license along with the source code. If not, an online copy of the license can be found at http://www.gnu.org/copyleft/lesser.html. */ namespace NGenerics.Patterns.Visitor { /// /// Provides an interface for visitors. /// /// The type of objects to be visited. public interface IVisitor { /// /// Gets a value indicating whether this instance is done performing it's work.. /// /// true if this instance is done; otherwise, false. bool HasCompleted { get; } /// /// Visits the specified object. /// /// The object to visit. void Visit(T obj); } }