Skip to content

Commit ed13070

Browse files
authored
Add exception (#7360)
1 parent b989fd3 commit ed13070

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

xml/Microsoft.Extensions.Logging/LoggerFactory.xml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</Interface>
3030
</Interfaces>
3131
<Docs>
32-
<summary>Produces instances of <see cref="T:Microsoft.Extensions.Logging.ILogger" /> classes based on the given providers.</summary>
32+
<summary>Produces instances of <see cref="T:Microsoft.Extensions.Logging.ILogger" /> classes based on the specified providers.</summary>
3333
<remarks>To be added.</remarks>
3434
</Docs>
3535
<Members>
@@ -81,7 +81,7 @@
8181
</Parameters>
8282
<Docs>
8383
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</param>
84-
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance.</summary>
84+
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance with the specified providers.</summary>
8585
<remarks>To be added.</remarks>
8686
</Docs>
8787
</Member>
@@ -110,7 +110,7 @@
110110
<Docs>
111111
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</param>
112112
<param name="filterOptions">The filter options to use.</param>
113-
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance.</summary>
113+
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance with the specified providers and filter options.</summary>
114114
<remarks>To be added.</remarks>
115115
</Docs>
116116
</Member>
@@ -139,7 +139,7 @@
139139
<Docs>
140140
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</param>
141141
<param name="filterOption">The filter option to use.</param>
142-
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance.</summary>
142+
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance with the specified providers and filter option.</summary>
143143
<remarks>To be added.</remarks>
144144
</Docs>
145145
</Member>
@@ -164,7 +164,7 @@
164164
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</param>
165165
<param name="filterOption">The filter option to use.</param>
166166
<param name="options">The logger factory options.</param>
167-
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance with the specified providers, filter option and logger factory options.</summary>
167+
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance with the specified providers, filter option, and logger factory options.</summary>
168168
<remarks>To be added.</remarks>
169169
</Docs>
170170
</Member>
@@ -199,8 +199,10 @@
199199
</Parameters>
200200
<Docs>
201201
<param name="provider">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> to add.</param>
202-
<summary>Adds the given provider to those used in creating <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</summary>
202+
<summary>Adds the specified provider to the collection of providers used in creating <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</summary>
203203
<remarks>To be added.</remarks>
204+
<exception cref="T:System.ArgumentNullException">
205+
<paramref name="provider" /> is <see langword="null" />.</exception>
204206
</Docs>
205207
</Member>
206208
<Member MemberName="CheckDisposed">
@@ -227,7 +229,7 @@
227229
</ReturnValue>
228230
<Parameters />
229231
<Docs>
230-
<summary>Check if the factory has been disposed.</summary>
232+
<summary>Checks if the factory has been disposed.</summary>
231233
<returns>
232234
<see langword="true" /> if <see cref="M:Microsoft.Extensions.Logging.LoggerFactory.Dispose" /> has been called; otherwise, <see langword="false" />.</returns>
233235
<remarks>To be added.</remarks>
@@ -256,7 +258,7 @@
256258
</Parameters>
257259
<Docs>
258260
<param name="configure">A delegate to configure the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" />.</param>
259-
<summary>Creates new instance of <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> configured using provided <paramref name="configure" /> delegate.</summary>
261+
<summary>Creates a new instance of <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> that's configured using the provided <paramref name="configure" /> delegate.</summary>
260262
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> that was created.</returns>
261263
<remarks>To be added.</remarks>
262264
</Docs>
@@ -292,7 +294,7 @@
292294
</Parameters>
293295
<Docs>
294296
<param name="categoryName">The category name for messages produced by the logger.</param>
295-
<summary>Creates an <see cref="T:Microsoft.Extensions.Logging.ILogger" /> with the given <paramref name="categoryName" />.</summary>
297+
<summary>Creates an <see cref="T:Microsoft.Extensions.Logging.ILogger" /> with the specified <paramref name="categoryName" />.</summary>
296298
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> that was created.</returns>
297299
<remarks>To be added.</remarks>
298300
</Docs>

0 commit comments

Comments
 (0)