Re: ReSharper API - Identify a Event-Method

Hello Gregor,

Could you please clarify what are the conditions when sampleClass.ThisIsAEventMethod
should be identified? Also, do I understand correctly that you'd like to
have ReSharper highlight that for you and provide a quick-fix to refactor
that code? Have you considered using SSR (http://www.jetbrains.com/resharper/features/navigation_search.html#Structural_Search_and_Replace)?
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello ReSharper-Community,

i like write a AddIn for ReSharper. The AddIn must identify a
Event-Method from object.

SampleClass sampleClass = new SampleClass();
sampleClass.ThisIsAEventMethod <-- I like identify this and start a
refactoring in......
this.....

MySpecialClass.FromEvent(sampleClass.ThisIsAEventMethod);

What for a Interface i needet, for this identigy? And waht i needet
for the refactoring?

Thanks

BFreakout

---
Original message URL:
http://devnet.jetbrains.net/message/5312159#5312159



Please sign in to leave a comment.