Share via


ServerFactoryLoader Class

 

Located and loads the server factory.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Hosting.ServerFactory.ServerFactoryLoader

Syntax

public class ServerFactoryLoader : IServerFactoryLoader
public ref class ServerFactoryLoader : IServerFactoryLoader
type ServerFactoryLoader = 
    class
        interface IServerFactoryLoader
    end
Public Class ServerFactoryLoader
    Implements IServerFactoryLoader

Constructors

Name Description
System_CAPS_pubmethod ServerFactoryLoader(IServerFactoryActivator)

Allows for a Dependency Injection activator to be specified.

Methods

Name Description
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 Load(String)

Executes the loader, searching for the server factory by name. Acceptable inputs: - null, empty, etc.. Scan for an assembly containing the type [Assembly.Name].ServerFactory. - Assembly.Name. Look for type Assembly.Name.ServerFactory in the assembly Assembly.Name. - Assembly.Name.FactoryName. Look for type Assembly.Name.FactoryName in the assembly Assembly.Name.

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