摘要:
模式角色与结构:示例代码:(本示例在具体状态类中实现状态切换,也可以在环境类中实现状态切换。状态模式一定程度上违背开闭原则)using System;using System.Collections.Generic;using System.Linq;using System.Text;namesp... 阅读全文
posted @ 2014-09-25 21:49
逝者如斯(乎)
阅读(337)
评论(0)
推荐(0)
浙公网安备 33010602011771号