Generate a C# delegate method stub -


Does anybody know how to create a representative stub method automatically?

In the WPF it seems that near the representative around, I would like to be able to write the name of a method which is not present and a method stab is automatically generated ... Currently I ' To make a representative sign, am to continually reference the documents and then make a method with a manually signed signature.

Use an IDE plugin such as Reactor Pro! This allows you to convert your representatives into example methods, or if it changes into one-liner, one lambda. I start typing using lambda and then hovering my cursor over the perm gives you the available type.

Or wait for Visual Studio 10, in which all this was made. But then use any of the above :)


Comments