TestServer.Create<TStartup> Method
Create a new TestServer instance and configure the OWIN pipeline.
Namespace: Microsoft.Owin.Testing
Assembly: Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)
Syntax
'Declaration
Public Shared Function Create(Of TStartup) As TestServer
'Usage
Dim returnValue As TestServer
returnValue = TestServer.Create()
public static TestServer Create<TStartup>()
public:
generic<typename TStartup>
static TestServer^ Create()
static member Create : unit -> TestServer
JScript does not support generic types and methods.
Type Parameters
- TStartup
Class containing a startup function used to configure the OWIN pipeline.
Return Value
Type: Microsoft.Owin.Testing.TestServer
Returns TestServer.