Is there a way to derive from a class with an internal constructor?

后端 未结 6 437
遥遥无期
遥遥无期 2020-12-20 13:19

I\'m working with a 3rd party c# class that has lots of great methods and properties - but as time has gone by I need to extend that class with methods and properties of my

6条回答
  •  太阳男子
    2020-12-20 13:36

    Resharper has a nice feature to create delegating members.

    Here is a sample of what you can do with it. It takes a couple of seconds.

提交回复
热议问题