codetale
codetale

Reputation: 89

Options to optin auto-implemented properties only?

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

Upvotes: 1

Views: 184

Answers (1)

Simon
Simon

Reputation: 34880

No. currently this is not possible

Upvotes: 2

Related Questions