You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't see your proposed "late-binding" being required in many scenarios, however it might be easy to add a generic func overload for the SetDefault method which can be alternatively used in your particular scenario.
So for example,
parser.Setup<DateTime>('l', "LastDate")
.Callback(value => _lastDate = value)
.SetDefault(() => _firstDate); // 'late binding' achieved using new overload
Hi! I have this situation:
The behaviour that I expect would be, when an user doesn't provide 'L', just get the 'D' value.
My current workaround is:
The text was updated successfully, but these errors were encountered: