ApplicationPartManagerExtensions.AddApplicationPart 方法

定义

将提供的程序集添加到生成器。

public static Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies AddApplicationPart (this Orleans.ApplicationParts.IApplicationPartManager manager, System.Reflection.Assembly assembly);
static member AddApplicationPart : Orleans.ApplicationParts.IApplicationPartManager * System.Reflection.Assembly -> Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies
<Extension()>
Public Function AddApplicationPart (manager As IApplicationPartManager, assembly As Assembly) As IApplicationPartManagerWithAssemblies

参数

manager
IApplicationPartManager

生成器。

assembly
Assembly

程序集。

返回

具有附加添加的程序集的生成器。

适用于