0 Replies Last post: Feb 5, 2010 7:44 PM by Mike Strobel  
Guest
Currently Being Moderated

Feb 5, 2010 7:44 PM

Event Handler Naming Style

I am a bit confused about the ReSharper options for event subscription

naming settings.  If I go to "Naming Style" options and click "Advanced

settings...", there are boxes for specifying event handler naming style.

For "Event subscriptions on fields", I have specified "On$object$$event$".

However, when I type the following and invoke smart completion:

 

this.Parent.PropertyChanged +=

 

...I get the option to "Create method ParentOnPropertyChanged(object,

PropertyChangedEventArgs)".  Based on my Naming Style settings, I would

expect to see "OnParentPropertyChanged" instead of

"ParentOnPropertyChanged".  Is this a bug, or are these settings not

considered in this scenario?

 

Thanks,

Mike

 

 

More Like This

  • Retrieving data ...