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>>