共用方式為


IFeatureManagementBuilder.AddSessionManager<T> 方法

定義

ISessionManager加入 ,以用於將功能狀態儲存在會話中。

public Microsoft.FeatureManagement.IFeatureManagementBuilder AddSessionManager<T> () where T : Microsoft.FeatureManagement.ISessionManager;
abstract member AddSessionManager : unit -> Microsoft.FeatureManagement.IFeatureManagementBuilder (requires 'T :> Microsoft.FeatureManagement.ISessionManager)
Public Function AddSessionManager(Of T As ISessionManager) () As IFeatureManagementBuilder

類型參數

T

的實作 ISessionManager

傳回

功能管理產生器。

適用於