Hi Rocky,
My current usage of this is:
ValidationRules.CheckRules("SeasonalMonthStart");
I can likely bypass using this method using DependentProperty but it seems to me that this might be a place where being able to specify a property info would be useful, to avoid the string literal.
ValidationRules.CheckRules(_seasonalMonthStart);
Chris
Sorry, I just realized I could just use _seasonalMonthStart.Name in place of the string literal. Duh.
That's true, but I think it should be an overload. My goal is to allow you to use a PropertyInfo where it is natural, without having to resort to tricks like that last post.
Thanks!
Copyright (c) Marimer LLC