Given the following base class:
public class Test
{
... some public methods ...
protected virtual void Function1() {}
protected virtual int Function2() { return 0; }
}
Creating a new class
public class MyClass : Test
{
}
and now selecting the VA command "implement virtual methods...", selecting all methods, VA will create this:
public class MyClass : Test
{
public protected virtual void Function1() {}
public protected virtual int Function2() {}
}
