Share via


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
System_CAPS_pubmethod ServerFactoryAdapter(Object)

Creates a wrapper around the given server factory instance.

System_CAPS_pubmethod 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

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

Return to top