I
Inictus
Greetings all,
Obviously I have a question. I have a set of classes in an N-tiered
environment (based on an older version of Rockford Lhotka's CSLA
architecture) and have a situation where I need to notify a parent
object that something has happened in a child object, similar to an
event.
After the parent has deserialized back to the client, I have 2 choices
(unless there is something completely different that Im not
considering), send the children objects a reference to the parent
object, or send a delegate such that these children can invoke it when
need be.
The question is - which would be better in this situation? In terms of
memory footprint, my gut tells me the footprint would be about the
same for either. Is there any other reason to choose one over the
other?
Thanks
Obviously I have a question. I have a set of classes in an N-tiered
environment (based on an older version of Rockford Lhotka's CSLA
architecture) and have a situation where I need to notify a parent
object that something has happened in a child object, similar to an
event.
After the parent has deserialized back to the client, I have 2 choices
(unless there is something completely different that Im not
considering), send the children objects a reference to the parent
object, or send a delegate such that these children can invoke it when
need be.
The question is - which would be better in this situation? In terms of
memory footprint, my gut tells me the footprint would be about the
same for either. Is there any other reason to choose one over the
other?
Thanks