How do I change a signature to use generic parameters?
See the attached screenshot.
Is this possible, or am I missing something obvious? It seems to me that the resulting signature (as seen in the signature preview) looks good, so why the problem?
TIA,
-rb
Attachment(s):
Change_Signature_2011-01-27_07-57-33.png
Please sign in to leave a comment.
Hello Richard,
Change Signature refactoring doesn't support adding generic type parameters.
'Signature preview' looks fine because ReSharper just uses the current text
from the 'Name' box to construct the preview. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thanks for the response.
I guess I was confused because the "Change Signature" DOES support generic method parameters. As well, it will change the signature of a Generic Method, as long as you don't want to change the generic type parameter of that Method.
Are there any plans to support this?
It would be an nice workaround to provide a "Delegate Method" refactor that was available in the "Refactor This" menu for Methods - much like the option during the "Change Signature," only stand-alone.