Skip to content

Add new exceptions #7367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>Optional contract used by <see cref="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)" />
to resolve services if supported by <see cref="T:System.IServiceProvider" />.</summary>
<summary>Optional contract used by <see cref="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)" /> to resolve services if supported by <see cref="T:System.IServiceProvider" />.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
Expand Down Expand Up @@ -51,12 +50,12 @@
<Parameter Name="serviceType" Type="System.Type" />
</Parameters>
<Docs>
<param name="serviceType">An object that specifies the type of service object to get.</param>
<summary>Gets service of type <paramref name="serviceType" /> from the <see cref="T:System.IServiceProvider" /> implementing
this interface.</summary>
<returns>A service object of type <paramref name="serviceType" />.
Throws an exception if the <see cref="T:System.IServiceProvider" /> cannot create the object.</returns>
<param name="serviceType">The type of service object to get.</param>
<summary>Gets service of type <paramref name="serviceType" /> from the <see cref="T:System.IServiceProvider" /> that implements this interface.</summary>
<returns>A service object of type <paramref name="serviceType" />. Throws an exception if the <see cref="T:System.IServiceProvider" /> cannot create the object.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ObjectDisposedException">
<paramref name="provider" /> has already been disposed.</exception>
</Docs>
</Member>
</Members>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@
<returns>A service object of type <paramref name="serviceType" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">There is no service of type <paramref name="serviceType" />.</exception>
<exception cref="T:System.ObjectDisposedException">
<paramref name="provider" /> has already been disposed.</exception>
</Docs>
</Member>
<Member MemberName="GetRequiredService&lt;T&gt;">
Expand Down Expand Up @@ -180,6 +182,8 @@
<returns>A service object of type <typeparamref name="T" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">There is no service of type <typeparamref name="T" />.</exception>
<exception cref="T:System.ObjectDisposedException">
<paramref name="provider" /> has already been disposed.</exception>
</Docs>
</Member>
<Member MemberName="GetService&lt;T&gt;">
Expand Down