ApplicationPartManagerExtensions.CreateAndPopulateFeature<TFeature> Method

Definition

Creates and populates a feature.

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

Type Parameters

TFeature

The feature.

Parameters

applicationPartManager
IApplicationPartManager

The application part manager.

Returns

TFeature

The populated feature.

Applies to