System.Diagnostics.Switch problems
From: Michael Riggio (michael.spam.riggio_at_spam.unisys.spam.com)
Date: 09/14/04
- Next message: William Stacey [MVP]: "Re: Decompiler.NET reverse engineers your CLS compliant code"
- Previous message: Nak: "Re: Decompiler.NET reverse engineers your CLS compliant code"
- Next in thread: Dmitriy Lapshin [C# / .NET MVP]: "Re: System.Diagnostics.Switch problems"
- Reply: Dmitriy Lapshin [C# / .NET MVP]: "Re: System.Diagnostics.Switch problems"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 17:17:15 -0400
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
- Next message: William Stacey [MVP]: "Re: Decompiler.NET reverse engineers your CLS compliant code"
- Previous message: Nak: "Re: Decompiler.NET reverse engineers your CLS compliant code"
- Next in thread: Dmitriy Lapshin [C# / .NET MVP]: "Re: System.Diagnostics.Switch problems"
- Reply: Dmitriy Lapshin [C# / .NET MVP]: "Re: System.Diagnostics.Switch problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|