I have seen in C# that Interfaces when implemented in a class, give methods with an NotImplementedException block in them.
This way
public interface IDisposable
{
void Dispose();
}
and when implimenting it
public class Class1 : IDisposable
{
public void Dispose()
{
throw new NotImplementedException();
}
}
Now my question
You can use a Visual Studio plug-in like JustCode, which offers such a feature for VB.Net:
Interface Foo
Sub Bar()
End Interface
Class FooBar
Implements Foo
Public Sub Bar() Implements Foo.Bar -+
' TODO: Implement this method +-- these lines are autogenerated
Throw New NotImplementedException() |
End Sub -+
End Class
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With