Share via


ServerFactoryAdapter Class

 

The basic ServerFactory contract.

Namespace:   Microsoft.Owin.Hosting.ServerFactory
Assembly:  Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter

Syntax

public class ServerFactoryAdapter : IServerFactoryAdapter
public ref class ServerFactoryAdapter : IServerFactoryAdapter
type ServerFactoryAdapter = 
    class
        interface IServerFactoryAdapter
    end
Public Class ServerFactoryAdapter
    Implements IServerFactoryAdapter

Constructors

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.

Methods

Name Description
System_CAPS_pubmethod Create(IAppBuilder)

Calls the Create method on the server factory. The method may be static or instance, and may accept the AppFunc and the IAppBuilder.Properties IDictionary<string, object>.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize(IAppBuilder)

Calls the optional Initialize method on the server factory. The method may be static or instance, and may accept either an IAppBuilder or the IAppBuilder.Properties IDictionary<string, object>.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Hosting.ServerFactory Namespace

Return to top