摘要:
第一步:事件总线和事件聚合器 【1】事件总线IEventBus IUnitOfWork.cs using System;using System.Collections.Generic;using System.Linq;using System.Text;using System... 阅读全文
posted @ 2014-06-16 15:12
easy5
阅读(2129)
评论(0)
推荐(2)
摘要:
第一步:定义拦截行为:CachingBehavior 和ExceptionLoggingBehavior 他们都继承接口:IInterceptionBehavior (程序集 Microsoft.Practices.Unity.Interception.dll, v2.1.505.0 ... 阅读全文
posted @ 2014-06-16 14:43
easy5
阅读(1445)
评论(0)
推荐(1)
摘要:
C# 反射泛型 摘自:http://www.itwis.com/html/net/c/20110411/10175.html C#泛型反射和普通反射的区别,泛型反射和普通反射的区别就是泛型参数的处理上先看一个简单的例子。class Class1{ public void Test(T t... 阅读全文
posted @ 2014-06-16 11:22
easy5
阅读(15390)
评论(1)
推荐(5)

浙公网安备 33010602011771号