关于[Visitor Design Pattern in C#]的摘要:
The Visitor pattern allows decoupling algorithms from the objects on which they operate. It allows adding and changing functionalities in a type-safe and SOLID manner. This is one of the most complex classic design patterns. In this article, we’ll discuss how it’s structured, what value it brings, as well as what are the tradeoffs and alternatives. We are also going to mention several variations of the implementation of the pattern.