有关委托的应用,请参见委托和泛型委托。
For applications of delegates, see delegates and Generic delegates.
在对象应发布服务实例时回调的泛型委托。
A generic delegate that is called back when an object should publish an instance of a service.
可以向逆变委托分配同一类型的其他委托,但需使用派生程度较小的泛型类型参数。
A contravariant delegate can be assigned another delegate of the same type, but with a less derived generic type parameter.
应用推荐