共用方式為


StartupBase<TBuilder>.ConfigureContainer(TBuilder) 方法

定義

設定服務容器。

public:
 virtual void ConfigureContainer(TBuilder builder);
public virtual void ConfigureContainer (TBuilder builder);
abstract member ConfigureContainer : 'Builder -> unit
override this.ConfigureContainer : 'Builder -> unit
Public Overridable Sub ConfigureContainer (builder As TBuilder)

參數

builder
TBuilder

與要設定之容器相關聯的產生器。

適用於