ApplicationPartManagerExtensions.CreateAndPopulateFeature<TFeature> 方法

定义

创建和填充功能。

public static TFeature CreateAndPopulateFeature<TFeature> (this Orleans.ApplicationParts.IApplicationPartManager applicationPartManager) where TFeature : new();
static member CreateAndPopulateFeature : Orleans.ApplicationParts.IApplicationPartManager -> 'Feature (requires 'Feature : (new : unit -> 'Feature))
<Extension()>
Public Function CreateAndPopulateFeature(Of TFeature As New) (applicationPartManager As IApplicationPartManager) As TFeature

类型参数

TFeature

功能。

参数

applicationPartManager
IApplicationPartManager

应用程序部件管理器。

返回

TFeature

填充的功能。

适用于