Open iCodeSometime opened 9 months ago
I would be open to a PR but probably will not implement it myself
I achieve this by chaining my partial interfaces manually. It's minimal effort to achieve what you're looking to do and doesn't introduce a POLA violation.
public partial interface IParent;
public partial interface IChild : IParent;
[GenerateAutomaticInterface]
public class Parent : IParent
{
public void ParentMethod() { }
}
[GenerateAutomaticInterface]
public class Child : Parent, IChild
{
public void ChildMethod() { }
}
When two classes inherit from each other, it would be nice if the interfaces did also.
Would generate