namespace Chernobyl.DesignPatterns.Visitor { /// /// A class for implementing the visitor of the /// visitor pattern. The visitor is responsible /// for "visiting" the host that is passed to it /// by performing any needed operations based /// upon that host. /// /// The type of host that /// this visitor is capable of visiting. public interface IVisitor { /// /// Visits the passed in host and performs any /// needed operations based on it. /// /// The host to visit. void Visit(HostType host); } }