首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > 网络组合的对象模型。

网络组合的对象模型。

  • 资源大小:132.23 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Introduction Gear is a .NET library which supports a composable object model. Instead of relying on subclassing to customize the behavior of base classes Gear relies on composition of private implementations into aggregated objects which expose interfaces. Concepts Boss - These are the objects in the Gear object model. Bosses contain one or more implementations which expose interfaces. The only way to interact with the implementations is via the interfaces it exposes. Interfaces are dynamically queried at runtime. Interface - These are normal C# interfaces. To preserve forward compatibility you should not remove or change methods in a published interface although you can add new methods. Implementation - These are normal C# concrete classes. They should be marked internal and must implement one or more interfaces. There is no way to access an implementation in an boss other than via reflection. ObjectModel - This is a static cl

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP