Skip to content

Commit

Permalink
README: Removed ruby style comments and changed RetryCount so it diff…
Browse files Browse the repository at this point in the history
…ered from the default.
  • Loading branch information
mpareja committed Sep 14, 2011
1 parent 7d2a708 commit f24536d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -11,7 +11,7 @@ Here is a sample configuration object:

public class AppConfig {
public AppConfig() {
# default values
// default values
DataDir = "data";
RetryCount = 5;
}
Expand All @@ -20,7 +20,7 @@ Here is a sample configuration object:
public int RetryCount { get; set; }
protected string RawSiteId { get; set; } // field is mapped

# not mapped, but depends on mapped field
// not mapped, but depends on mapped field
public string SiteId { get { return RawSiteId.Substring(0,5); } }
}

Expand All @@ -30,7 +30,7 @@ Below is a sample configuration file using the AppSettingsConfigSource. Note the
<configuration>
<appSettings>
<add key="App.DataDir" value="mydata" />
<add key="App.RetryCount" value="5" />
<add key="App.RetryCount" value="7" />
<add key="App.RawSiteId" value="MySite_5312312" />
</appSettings>
</configuration>
Expand Down

0 comments on commit f24536d

Please sign in to comment.