0

Is there a way to pull up common methods, properties etc. just by name (maybe even signature too) into a common class from 2 or more classes?

1 Answer 1

1

You can extract some members from a single class to a base class as in this documentation link from Resharper 2016.2, but detect the common properties and methods seems to be a very tricky thing to do without any input from the developer.

There is a feature request in Jetbrains' backlog asking for something like that since 2014, but the linked SO question states the same I'm telling you. Maybe you want to take a look at it too.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.