المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : CodeGenerator to generate async interface from sync?



C# Programming
07-27-2009, 08:00 PM
If anyone knows or has codegenerator that will create:

public interface IMyInterface
{
IAsyncResult BeginMyMethod(int param,AsyncCallback callback,object state);

int EndMyMethod(IAsyncResult result);
}

from
public interface IMyInterface
{
int MyMethod(int param);
}

I`ve found only java version of it.