コード例 #1
0
 private TestServer CreateServer(HostingInformation hostingInfo)
 {
     return(TestServer.Create(
                hostingInfo.ApplicationBuilder,
                services => AddTestServices(services, TemplateName, TestProjectsPath, hostingInfo.ApplicationConfigureServices)));
 }
コード例 #2
0
 private TestServer CreateServer(HostingInformation hostingInfo)
 {
     return TestServer.Create(
         hostingInfo.ApplicationBuilder,
         services => AddTestServices(services, TemplateName, TestProjectsPath, hostingInfo.ApplicationConfigureServices));
 }