Skip to content

Commit 69305c0

Browse files
committed
Added documentation comment
1 parent 58ce961 commit 69305c0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/IGLib.Core/Console/Validation/DefaultFormatProvider/DefaultFormatProvider.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ public class DefaultFormatProviderSelector
1616
public static IDefaultFormatProviderSelector Global { get; private set; }
1717
= new DefaultFormatProviderSelectorInvariantCulture();
1818

19+
/// <summary>Sets (changes) the global <see cref="IDefaultFormatProviderSelector"/>, which will be
20+
/// used by default to select the default <see cref="IFormatProvider"/> object when one is not
21+
/// specified, and the <see cref="IDefaultFormatProviderSelector"/> to obtain the default value
22+
/// is also not specified.</summary>
23+
/// <param name="selector">The <see cref="IDefaultFormatProviderSelector"/> that will be returned
24+
/// by the <see cref="DefaultFormatProviderSelector.Global"/> property after this call.
25+
/// The marameter may not be null (otherwise, this method throws an exception).</param>
26+
/// <exception cref="ArgumentNullException">When the <paramref name="selector"/> parameter is null.</exception>
1927
public static void SetGlobal(IDefaultFormatProviderSelector selector)
2028
{
2129
if (selector == null)

0 commit comments

Comments
 (0)