你的位置: 码友网首页 / 资讯源列表 / Visitor Design Pattern in C#

关于[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.

原文地址: https://code-maze.com/csharp-visitor-design-pattern/

收录时间: 2022-02-09 浏览量: 904 分类: 设计模式

| 0 收藏 | 0