to add to Nicolas' answer:
If you use a singleton, you don't need to worry about a change in one
instance not being reflected in another, since everyone is using the same
instance.
See
http://www.yoda.arachsys.com/csharp/singleton.html
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Dave Kelly" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have generated a class, which contains configuration data for my
> application.
>
> Unfortunately I cannot use a static implementation of the class, as it
> requires a constructor.
>
> I generate instances of this class in several other classes (wherever I
> need to retrieve the config details).
>
> I would like any of the classes to generate an event, for all instances
> to reload the underlying xml file whenever any of the instances change
> the properties.
>
> Is it possible for a class instance to generate an event so that all
> other instances will receive the event?
>
> Regards,
>
> Dave
>