任何用于 winforms 的 EventBroker/Aggregator [英] Any EventBroker/Aggregator for winforms

查看:33
本文介绍了任何用于 winforms 的 EventBroker/Aggregator的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望有一些工作样本其他任何可以开始寻找的地方

hopefully there are some working samples else any place where to start looking

理想情况下应该能够在后台/前台方法上执行标记/属性的方法

Ideally should be able to able to execute methods on Background/Foreground method as marked/attributed

推荐答案

你可以试试 这是来自 CodeProject 的事件代理的实现.

基于属性,支持线程同步、弱引用(以免干扰垃圾回收)和简单的层次系统.

It is based on attributes and supports thread synchronization, weak references (so as not to interfere with garbage collection) and a simple hierarchy system.

我自己没有使用过,但作者指出它基于 我发现非常有用的复合(UI)应用程序块.

I haven't used it myself but the author states that it is based on the event broker from Composite (UI) Application Block which I have found quite useful.

这篇关于任何用于 winforms 的 EventBroker/Aggregator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆