Compartilhar via


ApplicationPartManagerExtensions.CreateAndPopulateFeature<TFeature> Método

Definição

Cria e preenche um recurso.

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

Parâmetros de tipo

TFeature

O recurso.

Parâmetros

applicationPartManager
IApplicationPartManager

O gerenciador de partes do aplicativo.

Retornos

TFeature

O recurso preenchido.

Aplica-se a