转自:《模式——工程化实现及扩展》(设计模式C# 版)
http://www.cnblogs.com/callwangxiang/

 

 

 

1、分析依赖关系要点:

  1)IA、IB、IC、ID平级正交关系

  2) IE是IA的下级抽象关系

  3)IF和IG是IC的下级抽象关系,而且IC与IG为1:N的关系, II和IH是IG的下级抽象关系

 

  因此,仅从依赖关系分析,如设计配置文件,其结构大致如下:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  
<configSections>
    
<sectionGroup name="exercise" type="">
      
<section name="a" type=""/>
      
<section name="b" type=""/>
      
<section name="c" type=""/>
      
<section name="d" type=""/>
    
</sectionGroup>
  
</configSections>

  
<exercise>
    
<a>
      
<e/>
    
</a>
    
<b/>
    
<c>
      
<d>
        
<add name="d1" type="">
          
<i/>
          
<h/>
        
</add>
        
<add name="d2" type="">
          
<i/>
          
<h/>
        
</add>
      
</d>
    
</c>
    
<d/>
  
</exercise>
  
</configuration>

 

 

2、

团队职责的用例关系大致如下

《模式——工程化实现及扩展》(设计模式C# 版)《桥模式 Bridge》——“自我检验"参考答案 

桥模式分解各岗位职责分工后的依赖关系大致如下:

《模式——工程化实现及扩展》(设计模式C# 版)《桥模式 Bridge》——“自我检验"参考答案 

 

相关文章:

  • 2021-07-26
  • 2021-12-14
  • 2021-10-10
  • 2021-10-21
  • 2021-10-25
  • 2022-01-17
  • 2021-11-11
  • 2021-06-17
猜你喜欢
  • 2021-06-13
  • 2021-07-15
  • 2021-10-23
  • 2021-10-23
  • 2021-09-27
  • 2021-11-29
  • 2021-10-21
相关资源
相似解决方案