ServerFactoryAdapter Constructor
Initializes a new instance of the ServerFactoryAdapter class.
Namespace: Microsoft.Owin.Hosting.ServerFactory
Assembly: Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)
Overload List
Name | Description | |
---|---|---|
![]() |
ServerFactoryAdapter(Object) | Creates a wrapper around the given server factory instance. |
![]() |
ServerFactoryAdapter(Type, IServerFactoryActivator) | Creates a wrapper around the given server factory type. |
See Also
ServerFactoryAdapter Class
Microsoft.Owin.Hosting.ServerFactory Namespace
Return to top
ServerFactoryAdapter Constructor (Object)
Creates a wrapper around the given server factory instance.
Syntax
public ServerFactoryAdapter(
object serverFactory
)
public:
ServerFactoryAdapter(
Object^ serverFactory
)
new :
serverFactory:Object -> ServerFactoryAdapter
Public Sub New (
serverFactory As Object
)
Parameters
- serverFactory
Type: System.Object
Return to top
ServerFactoryAdapter Constructor (Type, IServerFactoryActivator)
Creates a wrapper around the given server factory type.
Syntax
public ServerFactoryAdapter(
Type serverFactoryType,
IServerFactoryActivator activator
)
public:
ServerFactoryAdapter(
Type^ serverFactoryType,
IServerFactoryActivator^ activator
)
new :
serverFactoryType:Type *
activator:IServerFactoryActivator -> ServerFactoryAdapter
Public Sub New (
serverFactoryType As Type,
activator As IServerFactoryActivator
)
Parameters
- serverFactoryType
Type: System.Type
- activator
Type: Microsoft.Owin.Hosting.ServerFactory.IServerFactoryActivator
Return to top