]> git.deb.at Git - rhonda/impostor.git/commitdiff
Fix xmldoc warnings
authorjs6pak <kubastaron@hotmail.com>
Sat, 10 Apr 2021 21:00:34 +0000 (23:00 +0200)
committerjs6pak <kubastaron@hotmail.com>
Sat, 10 Apr 2021 21:00:34 +0000 (23:00 +0200)
src/Impostor.Api/Extensions/DictionaryExtensions.cs

index b8b682febae6c6b28def71fdc81f60f3d5e990d3..39a19ec95107f22b929147b2905a9b5bb2ae0221 100644 (file)
@@ -5,8 +5,11 @@ namespace Impostor.Api
 {
     public static class DictionaryExtensions
     {
-        /// <summary>Returns a read-only <see cref="T:System.Collections.ObjectModel.ReadOnlyDictionary`2" /> wrapper for the dictionary.</summary>
-        /// <returns>An object that acts as a read-only wrapper around the <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
+        /// <summary>Returns a read-only <see cref="ReadOnlyDictionary{TKey,TValue}" /> wrapper for the dictionary.</summary>
+        /// <param name="dictionary">An <see cref="IDictionary{TKey,TValue}" /> to create a <see cref="ReadOnlyDictionary{TKey,TValue}" /> from.</param>
+        /// <typeparam name="TKey">The type of the keys of <paramref name="dictionary" />.</typeparam>
+        /// <typeparam name="TValue">The type of the values of <paramref name="dictionary" />.</typeparam>
+        /// <returns>An object that acts as a read-only wrapper around the <see cref="IDictionary{TKey,TValue}" />.</returns>
         public static ReadOnlyDictionary<TKey, TValue> AsReadOnly<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
             where TKey : notnull
         {