ApplicationPartManagerExtensions.AddFromDependencyContext 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddFromDependencyContext(IApplicationPartManager) |
添加引用新奥尔良的所有程序集,这些程序集位于应用程序的 DependencyContext集合中。 |
AddFromDependencyContext(IApplicationPartManager, Assembly) |
添加引用新奥尔良的所有程序集,这些程序集在提供的程序集 DependencyContext中找到。 |
AddFromDependencyContext(IApplicationPartManager)
添加引用新奥尔良的所有程序集,这些程序集位于应用程序的 DependencyContext集合中。
public static Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies AddFromDependencyContext (this Orleans.ApplicationParts.IApplicationPartManager manager);
static member AddFromDependencyContext : Orleans.ApplicationParts.IApplicationPartManager -> Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies
<Extension()>
Public Function AddFromDependencyContext (manager As IApplicationPartManager) As IApplicationPartManagerWithAssemblies
参数
- manager
- IApplicationPartManager
生成器。
返回
包含附加程序集的生成器。
适用于
AddFromDependencyContext(IApplicationPartManager, Assembly)
添加引用新奥尔良的所有程序集,这些程序集在提供的程序集 DependencyContext中找到。
public static Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies AddFromDependencyContext (this Orleans.ApplicationParts.IApplicationPartManager manager, System.Reflection.Assembly entryAssembly);
static member AddFromDependencyContext : Orleans.ApplicationParts.IApplicationPartManager * System.Reflection.Assembly -> Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies
<Extension()>
Public Function AddFromDependencyContext (manager As IApplicationPartManager, entryAssembly As Assembly) As IApplicationPartManagerWithAssemblies
参数
- manager
- IApplicationPartManager
生成器。
- entryAssembly
- Assembly
要从中查找应用程序部件的程序集。
返回
包含附加程序集的生成器。