>I've used both the new access and assign methods numerous times and found it to be extremely powerful. I'm just curious what others are doing that may be interesting to us all?
I'm using assign methods to make read-only properties in
my business objects. Of course, the the object has to set
these values, so I have an accompanying logical property
that that determines the readability of the 1st property.
This readability property is hidden. So, to the user of
the object - if they try to make a change to the value...
... KABOOM!
Ok, maybe not THAT catestrophic, but nevertheless, I find
it rather effective.
- Chris sirhC
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement