ApplicationPartManagerExtensions.AddFromDependencyContext 方法

定义

重载

AddFromDependencyContext(IApplicationPartManager)

添加引用新奥尔良的所有程序集,这些程序集位于应用程序的 DependencyContext集合中。

AddFromDependencyContext(IApplicationPartManager, Assembly)

添加引用新奥尔良的所有程序集,这些程序集在提供的程序集 DependencyContext中找到。

AddFromDependencyContext(IApplicationPartManager)

Source:
ApplicationPartManagerExtensions.cs

添加引用新奥尔良的所有程序集,这些程序集位于应用程序的 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)

Source:
ApplicationPartManagerExtensions.cs

添加引用新奥尔良的所有程序集,这些程序集在提供的程序集 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

要从中查找应用程序部件的程序集。

返回

包含附加程序集的生成器。

适用于