<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for glennCarney's blog</title>
	<atom:link href="http://glenncarney.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://glenncarney.wordpress.com</link>
	<description>...the Forties files...</description>
	<lastBuildDate>Fri, 26 Dec 2008 18:56:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Updated C# Application Settings Utility Class by Marek Śliwiński</title>
		<link>http://glenncarney.wordpress.com/2007/10/13/updated-c-application-settings-utility-class/#comment-8</link>
		<dc:creator>Marek Śliwiński</dc:creator>
		<pubDate>Fri, 26 Dec 2008 18:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://glenncarney.wordpress.com/2007/10/13/updated-c-application-settings-utility-class/#comment-8</guid>
		<description>Thanks a lot! Excellent class!!</description>
		<content:encoded><![CDATA[<p>Thanks a lot! Excellent class!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Application Settings Utility Class by Updated C# Application Settings Utility Class &#171; glennCarney&#8217;s blog</title>
		<link>http://glenncarney.wordpress.com/2007/10/06/c-application-settings-utility-class/#comment-7</link>
		<dc:creator>Updated C# Application Settings Utility Class &#171; glennCarney&#8217;s blog</dc:creator>
		<pubDate>Sat, 13 Oct 2007 20:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://glenncarney.wordpress.com/2007/10/06/c-application-settings-utility-class/#comment-7</guid>
		<description>[...] Comments C# Application Setti... on Updated C# Application Setting...glenncarney on C# Application Settings Utilit...caderoux on C# [...]</description>
		<content:encoded><![CDATA[<p>[...] Comments C# Application Setti&#8230; on Updated C# Application Setting&#8230;glenncarney on C# Application Settings Utilit&#8230;caderoux on C# [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updated C# Application Settings Utility Class by C# Application Settings Utility Class &#171; glennCarney&#8217;s blog</title>
		<link>http://glenncarney.wordpress.com/2007/10/13/updated-c-application-settings-utility-class/#comment-6</link>
		<dc:creator>C# Application Settings Utility Class &#171; glennCarney&#8217;s blog</dc:creator>
		<pubDate>Sat, 13 Oct 2007 20:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://glenncarney.wordpress.com/2007/10/13/updated-c-application-settings-utility-class/#comment-6</guid>
		<description>[...] I think I want a&#160;Mac Updated C# Application Settings Utility&#160;Class [...]</description>
		<content:encoded><![CDATA[<p>[...] I think I want a&nbsp;Mac Updated C# Application Settings Utility&nbsp;Class [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Application Settings Utility Class by glenncarney</title>
		<link>http://glenncarney.wordpress.com/2007/10/06/c-application-settings-utility-class/#comment-5</link>
		<dc:creator>glenncarney</dc:creator>
		<pubDate>Fri, 12 Oct 2007 17:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://glenncarney.wordpress.com/2007/10/06/c-application-settings-utility-class/#comment-5</guid>
		<description>caderoux,
You are correct.  Using the class as an abstract to inherit from is a simple change and improves the implementation.  Thanks for pointing this out.  

With your permission, I will re-post the code including your idea.  The changes are simple to make:

Add the &lt;i&gt;abstract&lt;/i&gt; keyword to the appsettings declaration as shown below:

public abstract class appSettings
{ 
...
}

Make one change in the Load Method (which are only necessary due to an oversight on my part origianlly:

In the load (lines 119-120) method change: 

appSettings appSet = new appSettings();
XmlSerializer xs = new XmlSerializer(appSet.GetType());

to this:

appSettings appSet;
XmlSerializer xs = new XmlSerializer(this.GetType());

Finally, create a class declaration similar to the one you proposed in your comment in your application.

And you are good to go.  I tested this implementaion and it works fine and includes your new public settings.

Thanks again for pointing this out.
G


Then,</description>
		<content:encoded><![CDATA[<p>caderoux,<br />
You are correct.  Using the class as an abstract to inherit from is a simple change and improves the implementation.  Thanks for pointing this out.  </p>
<p>With your permission, I will re-post the code including your idea.  The changes are simple to make:</p>
<p>Add the <i>abstract</i> keyword to the appsettings declaration as shown below:</p>
<p>public abstract class appSettings<br />
{<br />
&#8230;<br />
}</p>
<p>Make one change in the Load Method (which are only necessary due to an oversight on my part origianlly:</p>
<p>In the load (lines 119-120) method change: </p>
<p>appSettings appSet = new appSettings();<br />
XmlSerializer xs = new XmlSerializer(appSet.GetType());</p>
<p>to this:</p>
<p>appSettings appSet;<br />
XmlSerializer xs = new XmlSerializer(this.GetType());</p>
<p>Finally, create a class declaration similar to the one you proposed in your comment in your application.</p>
<p>And you are good to go.  I tested this implementaion and it works fine and includes your new public settings.</p>
<p>Thanks again for pointing this out.<br />
G</p>
<p>Then,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C# Application Settings Utility Class by caderoux</title>
		<link>http://glenncarney.wordpress.com/2007/10/06/c-application-settings-utility-class/#comment-4</link>
		<dc:creator>caderoux</dc:creator>
		<pubDate>Fri, 12 Oct 2007 15:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://glenncarney.wordpress.com/2007/10/06/c-application-settings-utility-class/#comment-4</guid>
		<description>Doesn&#039;t look like you can inherit from this.  I was looking for something along the lines of this type of usage:

public class MyAppSettings : AppSettingsBase {
  public int myappSetting1;
  public string myappSetting1;
}</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t look like you can inherit from this.  I was looking for something along the lines of this type of usage:</p>
<p>public class MyAppSettings : AppSettingsBase {<br />
  public int myappSetting1;<br />
  public string myappSetting1;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
