[DoNotWeave] attribute in Catel.Fody

Topics: Questions
Aug 16, 2013 at 11:34 AM
I install Catel.Fody with nuget but there is no [DoNotWeave] attribute. should i install anything else?
Aug 16, 2013 at 12:41 PM
No, it's a feature we haven't written yet.
Aug 16, 2013 at 12: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 6:03 PM
You should'nt use a Catel property with a custom getter. Use regular properties for this.