Options to optin auto-implemented properties only?

183 Views Asked by At

I have class which are inherit base class which have it own "OnPropertyChanged" event called, eg: Xamarin BindableObject like below

public string Name {
  get { return (string)GetValue(NameProperty); }
  set { SetValue(NameProperty, value); }
}

is it possible to automatic (or config options) opt-out those property without using DoNotNotifyAttribute attribute? and just weaving if property are auto-implemented property?

public string Name {
  get;
  set;
}

thank you

1

There are 1 best solutions below

0
Simon On BEST ANSWER

No. currently this is not possible