|
19 | 19 | </Base>
|
20 | 20 | <Interfaces />
|
21 | 21 | <Docs>
|
22 |
| - <summary>To be added.</summary> |
| 22 | + <summary>Provides extension methods for generic collections.</summary> |
23 | 23 | <remarks>To be added.</remarks>
|
24 | 24 | </Docs>
|
25 | 25 | <Members>
|
|
52 | 52 | <Parameter Name="key" Type="TKey" />
|
53 | 53 | </Parameters>
|
54 | 54 | <Docs>
|
55 |
| - <typeparam name="TKey">To be added.</typeparam> |
56 |
| - <typeparam name="TValue">To be added.</typeparam> |
57 |
| - <param name="dictionary">To be added.</param> |
58 |
| - <param name="key">To be added.</param> |
59 |
| - <summary>To be added.</summary> |
60 |
| - <returns>To be added.</returns> |
| 55 | + <typeparam name="TKey">The type of the keys in the dictionary.</typeparam> |
| 56 | + <typeparam name="TValue">The type of the values in the dictionary.</typeparam> |
| 57 | + <param name="dictionary">A dictionary with keys of type <typeparamref name="TKey" /> and values of type <typeparamref name="TValue" />.</param> |
| 58 | + <param name="key">The key of the value to get.</param> |
| 59 | + <summary>Tries to get the value associated with the specified <paramref name="key" /> in the <paramref name="dictionary" />.</summary> |
| 60 | + <returns>A <typeparamref name="TValue" /> instance. When the method is successful, the returned object is the value associated with the specified <paramref name="key" />. When the method fails, it returns the <see langword="default" /> value for <typeparamref name="TValue" />.</returns> |
61 | 61 | <remarks>To be added.</remarks>
|
| 62 | + <exception cref="T:System.ArgumentNullException"><paramref name="dictionary" /> is <see langword="null" />.</exception> |
62 | 63 | </Docs>
|
63 | 64 | </Member>
|
64 | 65 | <Member MemberName="GetValueOrDefault<TKey,TValue>">
|
|
91 | 92 | <Parameter Name="defaultValue" Type="TValue" />
|
92 | 93 | </Parameters>
|
93 | 94 | <Docs>
|
94 |
| - <typeparam name="TKey">To be added.</typeparam> |
95 |
| - <typeparam name="TValue">To be added.</typeparam> |
96 |
| - <param name="dictionary">To be added.</param> |
97 |
| - <param name="key">To be added.</param> |
98 |
| - <param name="defaultValue">To be added.</param> |
99 |
| - <summary>To be added.</summary> |
100 |
| - <returns>To be added.</returns> |
| 95 | + <typeparam name="TKey">The type of the keys in the dictionary.</typeparam> |
| 96 | + <typeparam name="TValue">The type of the values in the dictionary.</typeparam> |
| 97 | + <param name="dictionary">A dictionary with keys of type <typeparamref name="TKey" /> and values of type <typeparamref name="TValue" />.</param> |
| 98 | + <param name="key">The key of the value to get.</param> |
| 99 | + <param name="defaultValue">The default value to return when the <paramref name="dictionary" /> cannot find a value associated with the specified <paramref name="key" />.</param> |
| 100 | + <summary>Tries to get the value associated with the specified key in the <paramref name="dictionary" />.</summary> |
| 101 | + <returns>A <typeparamref name="TValue" /> instance. When the method is successful, the returned object is the value associated with the specified <paramref name="key" />. When the method fails, it returns <paramref name="defaultValue" />.</returns> |
101 | 102 | <remarks>To be added.</remarks>
|
| 103 | + <exception cref="T:System.ArgumentNullException"><paramref name="dictionary" /> is <see langword="null" />.</exception> |
102 | 104 | </Docs>
|
103 | 105 | </Member>
|
104 | 106 | <Member MemberName="Remove<TKey,TValue>">
|
|
131 | 133 | <Parameter Name="value" Type="TValue" RefType="out" />
|
132 | 134 | </Parameters>
|
133 | 135 | <Docs>
|
134 |
| - <typeparam name="TKey">To be added.</typeparam> |
135 |
| - <typeparam name="TValue">To be added.</typeparam> |
136 |
| - <param name="dictionary">To be added.</param> |
137 |
| - <param name="key">To be added.</param> |
138 |
| - <param name="value">To be added.</param> |
139 |
| - <summary>To be added.</summary> |
140 |
| - <returns>To be added.</returns> |
| 136 | + <typeparam name="TKey">The type of the keys in the <paramref name="dictionary" />.</typeparam> |
| 137 | + <typeparam name="TValue">The type of the values in the <paramref name="dictionary" />.</typeparam> |
| 138 | + <param name="dictionary">A dictionary with keys of type <typeparamref name="TKey" /> and values of type <typeparamref name="TValue" />.</param> |
| 139 | + <param name="key">The key of the value to remove.</param> |
| 140 | + <param name="value">When this method returns <see langword="true" />, the removed value; when this method returns <see langword="false" />, the <see langword="default" /> value for <typeparamref name="TValue" />.</param> |
| 141 | + <summary>Tries to remove the value with the specified <paramref name="key" /> from the <paramref name="dictionary" />.</summary> |
| 142 | + <returns><see langword="true" /> when a value is found in the <paramref name="dictionary" /> with the specified <paramref name="key" />; <see langword="false" /> when the <paramref name="dictionary" /> cannot find a value associated with the specified <paramref name="key" />.</returns> |
141 | 143 | <remarks>To be added.</remarks>
|
| 144 | + <exception cref="T:System.ArgumentNullException"><paramref name="dictionary" /> is <see langword="null" />.</exception> |
142 | 145 | </Docs>
|
143 | 146 | </Member>
|
144 | 147 | <Member MemberName="TryAdd<TKey,TValue>">
|
|
171 | 174 | <Parameter Name="value" Type="TValue" />
|
172 | 175 | </Parameters>
|
173 | 176 | <Docs>
|
174 |
| - <typeparam name="TKey">To be added.</typeparam> |
175 |
| - <typeparam name="TValue">To be added.</typeparam> |
176 |
| - <param name="dictionary">To be added.</param> |
177 |
| - <param name="key">To be added.</param> |
178 |
| - <param name="value">To be added.</param> |
179 |
| - <summary>To be added.</summary> |
180 |
| - <returns>To be added.</returns> |
| 177 | + <typeparam name="TKey">The type of the keys in the dictionary.</typeparam> |
| 178 | + <typeparam name="TValue">The type of the values in the dictionary.</typeparam> |
| 179 | + <param name="dictionary">A dictionary with keys of type <typeparamref name="TKey" /> and values of type <typeparamref name="TValue" />.</param> |
| 180 | + <param name="key">The key of the value to add.</param> |
| 181 | + <param name="value">The value to add.</param> |
| 182 | + <summary>Tries to add the specified <paramref name="key" /> and <paramref name="value" /> to the <paramref name="dictionary" />.</summary> |
| 183 | + <returns><see langword="true" /> when the <paramref name="key" /> and <paramref name="value" /> are successfully added to the <paramref name="dictionary" />; <see langword="false" /> when the <paramref name="dictionary" /> already contains the specified <paramref name="key" />, in which case nothing gets added.</returns> |
181 | 184 | <remarks>To be added.</remarks>
|
| 185 | + <exception cref="T:System.ArgumentNullException"><paramref name="dictionary" /> is <see langword="null" />.</exception> |
182 | 186 | </Docs>
|
183 | 187 | </Member>
|
184 | 188 | </Members>
|
|
0 commit comments