[DoNotWeave] attribute in Catel.Fody

Topics: Questions
Aug 16, 2013 at 12:34 PM
I install Catel.Fody with nuget but there is no [DoNotWeave] attribute. should i install anything else?
Aug 16, 2013 at 1:41 PM
No, it's a feature we haven't written yet.
Aug 16, 2013 at 1:56 PM
ok. another question is i have a catel property like below:
public decimal Payable
      get { return TotalPrice - Discount; }
      set { SetValue(PayableProperty, value); }
public static readonly PropertyData PayableProperty = RegisterProperty("Payable", typeof(decimal));
how can i use fody for this property that has logic in it's getter?
Aug 16, 2013 at 7:03 PM
You should'nt use a Catel property with a custom getter. Use regular properties for this.