packages/Microsoft.Extensions.DependencyInjection.Abstractions.8.0.0/lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml
(开头部分) 193KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Extensions.DependencyInjection.Abstractions</name>
</assembly>
<members>
<member name="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities">
<summary>
Helper code for the various activator services.
</summary>
</member>
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider,System.Type,System.Object[])">
<summary>
Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider"/>.
</summary>
<param name="provider">The service provider used to resolve dependencies</param>
<param name="instanceType">The type to activate</param>
<param name="parameters">Constructor arguments not provided by the <paramref name="provider"/>.</param>
<returns>An activated object of type instanceType</returns>
</member>
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])">
<summary>
Create a delegate that will instantiate a type with constructor arguments provided directly
and/or from an <see cref="T:System.IServiceProvider"/>.
</summary>
<param name="instanceType">The type to activate</param>
<param name="argumentTypes">
The types of objects, in order, that will be passed to the returned function as its second parameter
</param>
<returns>
A factory that will instantiate instanceType using an <see cref="T:System.IServiceProvider"/>
and an argument array containing objects matching the types defined in argumentTypes
</returns>
</member>
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory``1(System.Type[])">
<summary>
Create a delegate that will instantiate a type with constructor arguments provided directly
and/or from an <see cref="T:System.IServiceProvider"/>.
</summary>
<typeparam name="T">The type to activate</typeparam>
<param name="argumentTypes">
The types of objects, in order, that will be passed to the returned function as its second parameter
</param>
<returns>
A factory that will instantiate type T using an <see cref="T:System.IServiceProvider"/>
and an argument array containing objects matching the types defined in argumentTypes
</returns>
</member>
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])">
<summary>
Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider"/>.
</summary>
<typeparam name="T">The type to activate</typeparam>
<param name="provider">The service provider used to resolve dependencies</param>
<param name="parameters">Constructor arguments not provided by the <paramref name="provider"/>.</param>
<returns>An activated object of type T</returns>
</member>
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance``1(System.IServiceProvider)">
<summary>
Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.
后面还有 2391 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
