@@ -74,7 +74,7 @@ public static ConfigurationEntry<T> Get<T>(this Configuration config, string fir
74
74
/// <typeparam name="T">The configuration value type.</typeparam>
75
75
/// <param name="config">The configuration being worked with.</param>
76
76
/// <param name="key">The key</param>
77
- /// <returns>The configuration value, or the default. </returns>
77
+ /// <returns>The configuration value, or the default value for the selected <see cref="T"/>if not found </returns>
78
78
public static T GetValueOrDefault < T > ( this Configuration config , string key )
79
79
{
80
80
return ValueOrDefault ( config . Get < T > ( key ) , default ( T ) ) ;
@@ -88,7 +88,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string key)
88
88
/// <param name="config">The configuration being worked with.</param>
89
89
/// <param name="key">The key</param>
90
90
/// <param name="defaultValue">The default value if the key is not set.</param>
91
- /// <returns>The configuration value, or the default. </returns>
91
+ /// <returns>The configuration value, or the default value </returns>
92
92
public static T GetValueOrDefault < T > ( this Configuration config , string key , T defaultValue )
93
93
{
94
94
return ValueOrDefault ( config . Get < T > ( key ) , defaultValue ) ;
@@ -101,7 +101,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string key, T de
101
101
/// <param name="config">The configuration being worked with.</param>
102
102
/// <param name="key">The key.</param>
103
103
/// <param name="level">The configuration file into which the key should be searched for.</param>
104
- /// <returns>The configuration value, or the default. </returns>
104
+ /// <returns>The configuration value, or the default value for <see cref="T"/>if not found </returns>
105
105
public static T GetValueOrDefault < T > ( this Configuration config , string key , ConfigurationLevel level )
106
106
{
107
107
return ValueOrDefault ( config . Get < T > ( key , level ) , default ( T ) ) ;
@@ -112,11 +112,11 @@ public static T GetValueOrDefault<T>(this Configuration config, string key, Conf
112
112
/// or <paramref name="defaultValue" /> if the key is not set.
113
113
/// </summary>
114
114
/// <typeparam name="T">The configuration value type.</typeparam>
115
- /// <param name="config">The configuration being worked with.</param>
115
+ /// <param name="config">The configuration being worked with.</param>
116
116
/// <param name="key">The key.</param>
117
117
/// <param name="level">The configuration file into which the key should be searched for.</param>
118
118
/// <param name="defaultValue">The selector used to generate a default value if the key is not set.</param>
119
- /// <returns>The configuration value, or the default.</returns>
119
+ /// <returns>The configuration value, or the default value .</returns>
120
120
public static T GetValueOrDefault < T > ( this Configuration config , string key , ConfigurationLevel level , T defaultValue )
121
121
{
122
122
return ValueOrDefault ( config . Get < T > ( key , level ) , defaultValue ) ;
@@ -128,7 +128,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string key, Conf
128
128
/// <typeparam name="T">The configuration value type.</typeparam>
129
129
/// <param name="config">The configuration being worked with.</param>
130
130
/// <param name="keyParts">The key parts.</param>
131
- /// <returns>The configuration value, or the default. </returns>
131
+ /// <returns>The configuration value, or the default value for <see cref="T"/> if not found </returns>
132
132
public static T GetValueOrDefault < T > ( this Configuration config , string [ ] keyParts )
133
133
{
134
134
return ValueOrDefault ( config . Get < T > ( keyParts ) , default ( T ) ) ;
@@ -142,7 +142,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string[] keyPart
142
142
/// <param name="config">The configuration being worked with.</param>
143
143
/// <param name="keyParts">The key parts.</param>
144
144
/// <param name="defaultValue">The default value if the key is not set.</param>
145
- /// <returns>The configuration value, or the default.</returns>
145
+ /// <returns>The configuration value, or the default value .</returns>
146
146
public static T GetValueOrDefault < T > ( this Configuration config , string [ ] keyParts , T defaultValue )
147
147
{
148
148
return ValueOrDefault ( config . Get < T > ( keyParts ) , defaultValue ) ;
@@ -156,7 +156,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string[] keyPart
156
156
/// <param name="firstKeyPart">The first key part.</param>
157
157
/// <param name="secondKeyPart">The second key part.</param>
158
158
/// <param name="thirdKeyPart">The third key part.</param>
159
- /// <returns>The configuration value, or the default. </returns>
159
+ /// <returns>The configuration value, or the default value for the selected <see cref="T"/>if not found </returns>
160
160
public static T GetValueOrDefault < T > ( this Configuration config , string firstKeyPart , string secondKeyPart , string thirdKeyPart )
161
161
{
162
162
return ValueOrDefault ( config . Get < T > ( firstKeyPart , secondKeyPart , thirdKeyPart ) , default ( T ) ) ;
0 commit comments