Interface
- Namespace
- CoreFramework
Represents an object that can accept a visitor in the Visitor design pattern. Defines a mechanism for allowing a visitor to perform operations on this object.
public interface IVisitable
- Extension Methods
Methods
Accept(IVisitor)
Accepts a visitor and allows it to perform an operation on this object.
void Accept(IVisitor visitor)
Parameters
visitorIVisitorThe visitor performing the operation.