Command 设计模式
摘要:
public interface ICommand { void Show(); void Undo(); void Redo(); } public class Document { public void ShowText() { } } public class Graphics { public void ShowGraphics() { } } public class DocumentCommand:IC... 阅读全文
posted @ 2013-04-09 19:29 HOT SUMMER 阅读(150) 评论(0) 推荐(0) 编辑