namespace Cache { /// /// 缓存工厂类 /// public class CacheFactory { //TODO 加入配置文件 /// /// 定义通用的Repository /// /// public static ICache GetCacheInstance() { return new WebCache(); } } }