It appears that Visual Studio 2012 has removed the automatic implementation of abstract classes that inherit from an interface, any idea how to fix this in 2012 version?
Ctrl + T to show class.
Navigate to implementation of a type or a type memberChoose Navigate | Go To Implementation in the main menu, press Ctrl+F12 , or click the symbol while holding Ctrl+Alt keys. Note that in Visual Studio 2017 and later, the Ctrl+Alt -click is used for adding multiple carets.
It seems to still be possible. Please see this How To article from MSDN
I tested it and it seems to work just fine.
Use this procedure to perform the Implement Abstract Base Class IntelliSense operation. For more information, see Implement Abstract Base Class. To implement an abstract base class using IntelliSense
class Program
statement.: StringComparer
so the class declaration becomes class Program : StringComparer
.StringComparer
, and click Implement abstract class 'System.StringComparer'. IntelliSense adds three override methods from the StringComparer
class to the Program
class.I created an interface IModelBase
namespace VendorPrototype.Model
{
interface IModelBase
{
int ID();
DateTime CreatedDate();
String CreatedBy();
DateTime LastModifiedDate();
String LastModifiedBy();
}
}
and a class ModelBase
abstract class ModelBase : IModelBase
{
}
When I clicked IModelBase
and hovered under it, I was able to see the menu.
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