I have an interface
definition in C#.
Is there any tool to auto-create (generate) all the empty methods of that interface with a default return type?
For example i already have:
interface ISampleInterface
{
void SampleMethod();
int func(int);
}
and i want:
// auto interface member implementation:
class ImplementationClass : ISampleInterface
{
void ISampleInterface.SampleMethod()
{
return;
}
// changed return type to int according to interface definintion
int ISampleInterface.func(int a)
{
return a;
}
}