共用方式為


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

組件。

傳回

具有額外新增元件的產生器。

適用於