I have:
[Dependency]
public qwe property { get; set; }
And:
class qwe
{
public qwe()
{
MessageBox.Show("qwe");
}
public qwe(int x)
{
MessageBox.Show("qwe INT");
}
}
How can I configure Unity so that when I have registered an int Unity creates my class qwe with the constructor that takes an int, but when I haven't registered an int value, Unity uses the constructor with zero parameters.