I suggest you ...

add operator for get string representation of symbol

add operator like typeof for get symbol as string, i.e.
class ViewModel : INotifyPropertyChanged
{
private string _name;
public string Name
{
get { return _name; }
set {
_name = value;
//RaisePropertyChanged("Name"); // old way
RaisePropertyChanged(symbolof(Name)); // and strongly
// way, with full sypport refactorings and fast as
// default string contrant, compile time inlining..
}
}

many lib requires string representation of property name or method name, and this operator can improve quality

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    IgorIgor shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base