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

Offer an "Implement with Mixin" code action when adding an interface to a type #14

Closed
pgenfer opened this issue May 13, 2016 · 2 comments

Comments

@pgenfer
Copy link
Owner

pgenfer commented May 13, 2016

Remark: Issue #11 was split into two parts for easier administration. This is the second part.

Say I have the following mixin

public class NameMixin: INamed
{
    public string Name { get; set; }
}

and INamed is defined as follows

public interface INamed
{
    string Name { get; set; } = string.Empty;
}

it would be very convenient to offer an Implement with NamedMixin code action when adding the INamed interface to a type not having an implementation.

Thanks to @aluanhaddad for suggesting this feature.

@aluanhaddad
Copy link
Contributor

Thanks for implementing this. I love the feature!

pgenfer added a commit that referenced this issue Jul 8, 2016
The different refactoring operations are separated in their own commands
now and can be chained.
Commonly used test functionality was put in a test base class.
pgenfer added a commit that referenced this issue Jul 13, 2016
@pgenfer
Copy link
Owner Author

pgenfer commented Jul 14, 2016

Implemented in V1.4

@pgenfer pgenfer closed this as completed Jul 14, 2016
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

No branches or pull requests

2 participants