ServerFactoryAdapter Constructor (Type, IServerFactoryActivator)
Initializes a new instance of the ServerFactoryAdapter class.
Namespace: Microsoft.Owin.Hosting.ServerFactory
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Syntax
'Declaration
Public Sub New ( _
serverFactoryType As Type, _
activator As IServerFactoryActivator _
)
'Usage
Dim serverFactoryType As Type
Dim activator As IServerFactoryActivator
Dim instance As New ServerFactoryAdapter(serverFactoryType, _
activator)
public ServerFactoryAdapter(
Type serverFactoryType,
IServerFactoryActivator activator
)
public:
ServerFactoryAdapter(
Type^ serverFactoryType,
IServerFactoryActivator^ activator
)
new :
serverFactoryType:Type *
activator:IServerFactoryActivator -> ServerFactoryAdapter
public function ServerFactoryAdapter(
serverFactoryType : Type,
activator : IServerFactoryActivator
)
Parameters
- serverFactoryType
Type: System.Type
The type of the server factory.
- activator
Type: Microsoft.Owin.Hosting.ServerFactory.IServerFactoryActivator
The server factory activator.