Delight
Delight copied to clipboard
Broken File Generation when Using namespace Delight.Models
I have an enum under Delight.Models :
public enum UpdateType{ ... }
When I want to reference it on my xml I am using this code:
<UpdateCard TypeOfUpdate="t:UpdateType"> </UpdateCard>
Then the code is generated with a "+" instead of a "."
public readonly static DependencyProperty<Delight.Models+UpdateType> TypeOfUpdateProperty = new DependencyProperty<Delight.Models+UpdateType>("TypeOfUpdate");
public Delight.Models+UpdateType TypeOfUpdate
{
get { return TypeOfUpdateProperty.GetValue(this); }
set { TypeOfUpdateProperty.SetValue(this, value); }
}
If anything else is needed, please let me know :)
Thank you for the bug report. You probably figured it already but a temporary workaround is to put your enum outside the Models class.