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

与要配置的容器关联的生成器。

适用于