WebApplicationFactory<TEntryPoint>.Factories 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
IReadOnlyList<T>藉由在呼叫 WithWebHostBuilder(Action<IWebHostBuilder>) 時,進一步自訂 IWebHostBuilder 從這個處理站建立的處理站 。
public:
property System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Testing::WebApplicationFactory<TEntryPoint> ^> ^ Factories { System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Testing::WebApplicationFactory<TEntryPoint> ^> ^ get(); };
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory<TEntryPoint>> Factories { get; }
member this.Factories : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory<'EntryPoint>>
Public ReadOnly Property Factories As IReadOnlyList(Of WebApplicationFactory(Of TEntryPoint))
屬性值
IReadOnlyList<WebApplicationFactory<TEntryPoint>>