First off, I know C# doesn't allow for multiple inheritance.
I have an auto-generated partial class, over which I have no control that inherits another object. Like:
public partial class ThisClass : ThatClass
I want to use an abstract class via inheritance in my own partial class to leverage a lot of existing functionality. Like:
public partial class ThisClass : MyAbstractClass
public abstract class MyAbstractClass
protected void Method(AnotherObject parameter)
But how can I? You can't specify multiple inheritance in C#.
I don't think an Interface would work in this scenario? There are many generated partial classes. I just want to use the functionality in my existing library.
If anyone can point to some functional examples of fudging multiple inheritance in the context I provide or suggest a workaround, that would be great!
View Complete Post