共用方式為


WebApplicationFactory<TEntryPoint>.Server 屬性

定義

取得這個 TestServer 所建立的 WebApplicationFactory<TEntryPoint>

public:
 property Microsoft::AspNetCore::TestHost::TestServer ^ Server { Microsoft::AspNetCore::TestHost::TestServer ^ get(); };
public Microsoft.AspNetCore.TestHost.TestServer Server { get; }
member this.Server : Microsoft.AspNetCore.TestHost.TestServer
Public ReadOnly Property Server As TestServer

屬性值

適用於