Visual Studio - automatically implement all inherited methods from an interface

后端 未结 5 906
借酒劲吻你
借酒劲吻你 2021-02-18 21:19

Let\'s say we have a class called MyClass.

public class MyClass

We also have an interface like so:

public interface MyInterface         


        
5条回答
  •  清歌不尽
    2021-02-18 21:57

    This is a job for macros in Visual Studio. Here is an example that does a similar thing for abstract classes. It should be enough to get you going.

提交回复
热议问题