Beispiel #1
0
 /// <summary>
 /// 访问实现,操作实例
 /// </summary>
 /// <param name="em"></param>
 public override void Visit(ConcreteElementA em)
 {
     //todo 针对 ElementA实例 xxxx
     em.Print();
 }
Beispiel #2
0
 public abstract void Visit(ConcreteElementA em);