设计模式-----组合模式 ... abstract class Component //抽象的部件类描述将来所有部件共有的行为 protected string name;//名称 public abstract void Add(Component c);//添加子部件 ...
基于1个网页-相关网页
abstract class component
抽象类组件
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Component sits at the top of the hierarchy and ACTS as an abstract base class for all components. It provides various features such as.
Component位于层次结构的最顶端,充当所有组件的抽象基类。
youdao
应用推荐
模块上移
模块下移
不移动