I'm updating one of my projects from 2.0 to 3.8.1.
In the processing of cleaning up the business rules I ran into an issue with adding a dependent property rule. I'd add the rule and get a notice that it was obsolete - only to be told to use the exact same object. It took me awhile to figure out the difference:
ValidationRules.AddDependentProperty(stuff);
ValidationRules.AddDependantProperty(stuff);
No, this isn't a case of method overloading. Notice the different spellings for Dependent. I hereby slap Rocky's hand with a virtual ruler!
I think it is Joe you need to slap - I'm pretty sure he was the one who pointed out that the original method was misspelled (though it really isn't - it just uses an obscure spelling of the word).
So I can't disclaim all responsibility - but I'm willing to blame this on "the community"
I think I'm going to have to disagree with this "answer."
Well, in fact, "dependent" and "dependant" are two different words , the former being either an adjective or adverb and the latter being a noun. However, in common American usage, "dependent" is used in both instances. Here in the "obscure" Great White North and other places more recently detached from the British Empire, we use "dependant" as a noun.
Pedantically yours,
Frazer
Copyright (c) Marimer LLC