ServerFactoryLoader Class

Located and loads the server factory.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class ServerFactoryLoader _
    Implements IServerFactoryLoader
'Usage
Dim instance As ServerFactoryLoader
public class ServerFactoryLoader : IServerFactoryLoader
public ref class ServerFactoryLoader : IServerFactoryLoader
type ServerFactoryLoader =  
    class 
        interface IServerFactoryLoader 
    end
public class ServerFactoryLoader implements IServerFactoryLoader

The ServerFactoryLoader type exposes the following members.

Constructors

  Name Description
Public method ServerFactoryLoader Allows for a Dependency Injection activator to be specified.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Load 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin.Hosting.ServerFactory Namespace