SimpleInjectorServiceHostFactory Class

Simple Injector
Factory that provides instances of SimpleInjectorServiceHost in managed hosting environments where the host instance is created dynamically in response to incoming messages.
Inheritance Hierarchy

SystemObject
  System.ServiceModel.ActivationServiceHostFactoryBase
    System.ServiceModel.ActivationServiceHostFactory
      SimpleInjector.Integration.WcfSimpleInjectorServiceHostFactory

Namespace:  SimpleInjector.Integration.Wcf
Assembly:  SimpleInjector.Integration.Wcf (in SimpleInjector.Integration.Wcf.dll) Version: 4.0.0
Syntax

public class SimpleInjectorServiceHostFactory : ServiceHostFactory

The SimpleInjectorServiceHostFactory type exposes the following members.

Constructors

  NameDescription
Public methodSimpleInjectorServiceHostFactory
Initializes a new instance of the SimpleInjectorServiceHostFactory class
Top
Methods

  NameDescription
Protected methodCreateServiceHost
Creates a SimpleInjectorServiceHost for a specified type of service with a specific base address.
(Overrides ServiceHostFactoryCreateServiceHost(Type, Uri).)
Public methodStatic memberSetContainer
Sets the container.
Top
See Also

Reference