共用方式為


ApplicationPartManagerExtensions.AddFrameworkPart 方法

定義

將提供的元件新增至建置器做為架構元件。

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

參數

manager
IApplicationPartManager

產生器。

assembly
Assembly

組件。

傳回

具有額外加入元件的產生器。

適用於