471,317 Members | 1,378 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

ApplicationSettingsBase, configuration and inherited classes


I have inherited TaskSettings class from the ApplicationSettingsBase
class and are able to get the configuration settings for this class
quite nicely in my windows app.
Now, if I inherit further from the TaskSettings class and create a
ServerTaskSettings inherited class, the settings for the properties
defined in the TaskSettings class from the TaskSettings section in the
app.config are not applied to instances of the ServerTaskSettings
The settings for the ServerTaskSettings properties defined in the
ServerTaskSettings section are applied correctly.

This implies that for all TaskSettings inherited classes I would have
to copy all of the settings from base class's sections.

Is this behavior by design or am I doing something wrong?



Jan 2 '06 #1
0 1252

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Wilfried Mestdagh | last post: by
4 posts views Thread by Dan | last post: by
14 posts views Thread by lovecreatesbea... | last post: by
4 posts views Thread by Michael Lang | last post: by
8 posts views Thread by Alberto | last post: by
3 posts views Thread by =?Utf-8?B?ZmJvbGVmZXlzb3Q=?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.