开发者

exposing .net events using ironpython

开发者 https://www.devze.com 2022-12-13 12:27 出处:网络
I\'m implementing a .net class in ironpython and the class needs to expose some .net events. How do I expose .net events using ironpython?

I'm implementing a .net class in ironpython and the class needs to expose some .net events.

How do I expose .net events using ironpython?

I checked out the Tutorial\pyevent.py, but the procedure seems complicated for exposing a single event. is there any key words in iron python that开发者_运维百科 would let me do this.

regards G


It isn't difficult utilizing pyevent.py - see my blog post where I implement OnPropertyChanged event.

You can find details about events in IronPython documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消