谁能指出下图的含义:
- PolicyLayer和PolicyServiceInterface是什么关系
- PolicyServiceInterface和MachanismLayer是什么关系。
C# 代码也将不胜感激!
请注意,UML 来自 Martin C. Robert,Martin Micah 2006 年的 C# 中的敏捷原则、模式和实践。
添加于 15 2011/6/2
执行以下具有相同含义的操作: 1) 一端为三角形的实线 2) 一端为三角形的虚线
2011/6/3 1日添加
有什么区别:1)一端带箭头的实线 2)一端带箭头的虚线
示例中的示例以及以下链接中的 PersistentObject 和 ThirdPartyPersistentSet:
添加于 2011/6/3 第 2 次
PolicyLayer 和 PolicyServiceInterface 的关系可以如下:
public class PolicyLayer
{
private PolicyServiceInterface policyServiceInterface = new PolicyServiceInterfaceImplementation();
}
class PolicyServiceInterfaceImplementation:PolicyServiceInterface {}
关于