Skip to content

Commit a48cd29

Browse files
committed
fixup! Drop optional parameters in ConfigurationExtensions.cs
1 parent f5c6a9c commit a48cd29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

LibGit2Sharp/ConfigurationExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static ConfigurationEntry<T> Get<T>(this Configuration config, string fir
7474
/// <typeparam name="T">The configuration value type.</typeparam>
7575
/// <param name="config">The configuration being worked with.</param>
7676
/// <param name="key">The key</param>
77-
/// <returns>The configuration value, or the default value for the selected <see cref="T"/>if not found</returns>
77+
/// <returns>The configuration value, or the default value for the selected <see typeparamref="T"/>if not found</returns>
7878
public static T GetValueOrDefault<T>(this Configuration config, string key)
7979
{
8080
return ValueOrDefault(config.Get<T>(key), default(T));
@@ -101,7 +101,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string key, T de
101101
/// <param name="config">The configuration being worked with.</param>
102102
/// <param name="key">The key.</param>
103103
/// <param name="level">The configuration file into which the key should be searched for.</param>
104-
/// <returns>The configuration value, or the default value for <see cref="T"/>if not found</returns>
104+
/// <returns>The configuration value, or the default value for <see typeparamref="T"/> if not found</returns>
105105
public static T GetValueOrDefault<T>(this Configuration config, string key, ConfigurationLevel level)
106106
{
107107
return ValueOrDefault(config.Get<T>(key, level), default(T));
@@ -128,7 +128,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string key, Conf
128128
/// <typeparam name="T">The configuration value type.</typeparam>
129129
/// <param name="config">The configuration being worked with.</param>
130130
/// <param name="keyParts">The key parts.</param>
131-
/// <returns>The configuration value, or the default value for <see cref="T"/> if not found</returns>
131+
/// <returns>The configuration value, or the default value for<see typeparamref="T"/> if not found</returns>
132132
public static T GetValueOrDefault<T>(this Configuration config, string[] keyParts)
133133
{
134134
return ValueOrDefault(config.Get<T>(keyParts), default(T));
@@ -156,7 +156,7 @@ public static T GetValueOrDefault<T>(this Configuration config, string[] keyPart
156156
/// <param name="firstKeyPart">The first key part.</param>
157157
/// <param name="secondKeyPart">The second key part.</param>
158158
/// <param name="thirdKeyPart">The third key part.</param>
159-
/// <returns>The configuration value, or the default value for the selected <see cref="T"/>if not found</returns>
159+
/// <returns>The configuration value, or the default value for the selected <see typeparamref="T"/> if not found</returns>
160160
public static T GetValueOrDefault<T>(this Configuration config, string firstKeyPart, string secondKeyPart, string thirdKeyPart)
161161
{
162162
return ValueOrDefault(config.Get<T>(firstKeyPart, secondKeyPart, thirdKeyPart), default(T));

0 commit comments

Comments
 (0)