namespace Chernobyl.DesignPatterns.Visitor { /// /// Implements the host (sometimes called an "element") of /// the visitor pattern. That host is responsible for 'accepting' /// the visitor that is passed to it and performing any operations /// needed upon or based on that visitor. /// /// public interface IHost { /// /// Accepts the visitor passed in and performs /// any needed operations upon or based on that /// visitor. /// /// The visitor to accept. void Accept(VisitorType visitor); } }