共用方式為


WebApplicationFactory<TEntryPoint>.Services 屬性

定義

IServiceProvider取得與這個 WebApplicationFactory<TEntryPoint> 相關聯的伺服器所建立的 。

public:
 virtual property IServiceProvider ^ Services { IServiceProvider ^ get(); };
public virtual IServiceProvider Services { get; }
member this.Services : IServiceProvider
Public Overridable ReadOnly Property Services As IServiceProvider

屬性值

適用於