I have an interface in some related third-party assembly, for example:
public interface ITextHandler { void Handle(string text) }
And in my own project, I take a specific value, inheriting this into my own interface:
public interface INameHandler : ITextHandler { }
When using a tool like ReSharper, I can start with:
public class Foo : INameHandler { }
Resharper will show an error that I can click on and "Implement Interfaces". The result gives:
public class Foo : INameHandler { public void Handle(string text) { } }
Is there a way to tell ReSharper that I want to rename a parameter to be more specific? I would like it to implement a "name" instead of a "text":
public class Foo : INameHandler { public void Handle(string name) { } }
Is there a resharper comment or something that I can add to an INameHandler that overrides the default parameter name?
source share