exposing .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.
精彩评论