Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interfaces should inherit from base interfaces #29

Open
Yazurka opened this issue Jan 4, 2023 · 0 comments
Open

Interfaces should inherit from base interfaces #29

Yazurka opened this issue Jan 4, 2023 · 0 comments

Comments

@Yazurka
Copy link
Collaborator

Yazurka commented Jan 4, 2023

[GenerateInterface]
public class MyBase : IMyBase
{
    public string Name { get; set; }
}

[GenerateInterface]
public class MySub : MyBase, IMySub
{
    public int Number { get; set; }
}

IMySub should inherit from IMyBase in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant