Item 24: Express Callbacks with Delegates(Effective C#)
转载
Delegates provide the best way to utilize callbacks at runtime, with simpler requirements on client classes. You can configure delegate targets at runtime. You can support multiple client targets. Client callbacks should be implemented using delegates in .NET.
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:Item 25: Implement the Event Pattern for Notifications(Effective C#)
下一篇:Item 23: Understand How Interface Methods Differ from Virtual Methods(Effective C#)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
51c大模型~合集24大模型
-
.NET (C#) Internals: Delegates (2)
上篇.NET (C#) Internals: Delegates (1)我们介绍了委托初识、委托本质、委托的实例化方式、协变委托与逆协变委托,本篇将继续介绍。
.Net C# 休闲 delegate Internals