Rocky Plays a Dirty Trick

Rocky Plays a Dirty Trick

Old forum URL: forums.lhotka.net/forums/t/8599.aspx


MadGerbil posted on Tuesday, March 02, 2010

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!Surprise

RockfordLhotka replied on Tuesday, March 02, 2010

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" Big Smile

ajj3085 replied on Wednesday, March 03, 2010

I think I'm going to have to disagree with this "answer." Smile

FrazerS replied on Wednesday, March 03, 2010

Well, in fact, "dependent" and "dependant" are two different words Big Smile, 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