[IronPython] Creating a Generic Delegate

Sanghyeon Seo sanxiyn at gmail.com
Thu Sep 28 03:31:47 CEST 2006

2006/9/27, James <orr.james at gmail.com>:
> So is there any way to make this work?  Thanks for any help you can
> provide.

You can create a typed delegate simply by calling it with a Python
function as an argument.

delegate = Sink[ChannelMessage](fn)

Seo Sanghyeon

More information about the Ironpython-users mailing list