M
Michael Riggio
Has anyone tried to utilize this class? Unfortunately, the MSDN
documentation is pretty weak for this class and the examples they provide
are pretty lame.
I created a class that derives from System.Diagnostics.Switch and it
successfully retrieves the correct value from the configuration file.
According to the documentation, the class is supposed to listen for file
changes and will automatically update the in-memory values when the
configuration file gets updated; however, I haven't been able to get this to
work... my derived class instance always returns the original value
initially read through the configuration file.
Any suggestions on how to use the Switch class without hacking at it (by
this I mean doing my own file listening and reparsing the file when it gets
updated).
Thanks,
-Mike
documentation is pretty weak for this class and the examples they provide
are pretty lame.
I created a class that derives from System.Diagnostics.Switch and it
successfully retrieves the correct value from the configuration file.
According to the documentation, the class is supposed to listen for file
changes and will automatically update the in-memory values when the
configuration file gets updated; however, I haven't been able to get this to
work... my derived class instance always returns the original value
initially read through the configuration file.
Any suggestions on how to use the Switch class without hacking at it (by
this I mean doing my own file listening and reparsing the file when it gets
updated).
Thanks,
-Mike