Skip to content

Commit

Permalink
Change AddSetting to Bind in xmldocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ManlyMarco authored Dec 25, 2022
1 parent 067ad90 commit 093fee8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ConfigurationManagerAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
/// Here's an example of overriding order of settings and marking one of the settings as advanced:
/// <code>
/// // Override IsAdvanced and Order
/// Config.AddSetting("X", "1", 1, new ConfigDescription("", null, new ConfigurationManagerAttributes { IsAdvanced = true, Order = 3 }));
/// Config.Bind("X", "1", 1, new ConfigDescription("", null, new ConfigurationManagerAttributes { IsAdvanced = true, Order = 3 }));
/// // Override only Order, IsAdvanced stays as the default value assigned by ConfigManager
/// Config.AddSetting("X", "2", 2, new ConfigDescription("", null, new ConfigurationManagerAttributes { Order = 1 }));
/// Config.AddSetting("X", "3", 3, new ConfigDescription("", null, new ConfigurationManagerAttributes { Order = 2 }));
/// Config.Bind("X", "2", 2, new ConfigDescription("", null, new ConfigurationManagerAttributes { Order = 1 }));
/// Config.Bind("X", "3", 3, new ConfigDescription("", null, new ConfigurationManagerAttributes { Order = 2 }));
/// </code>
/// </example>
///
Expand Down

0 comments on commit 093fee8

Please sign in to comment.