SimpleInjectorServiceHost Class

Simple Injector
This service host is used to set up the service behavior that replaces the instance provider to use dependency injection.
Inheritance Hierarchy

SystemObject
  System.ServiceModel.ChannelsCommunicationObject
    System.ServiceModelServiceHostBase
      System.ServiceModelServiceHost
        SimpleInjector.Integration.WcfSimpleInjectorServiceHost

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

public class SimpleInjectorServiceHost : ServiceHost

The SimpleInjectorServiceHost type exposes the following members.

Constructors

  NameDescription
Public methodSimpleInjectorServiceHost(Container, Object, Uri)
Initializes a new instance of the SimpleInjectorServiceHost class.
Public methodSimpleInjectorServiceHost(Container, Type, Uri)
Initializes a new instance of the SimpleInjectorServiceHost class.
Top
Methods

  NameDescription
Public methodGetImplementedContracts
Gets the contracts implemented by the service hosted.
Protected methodOnOpening
Opens the channel dispatchers.
(Overrides CommunicationObjectOnOpening.)
Top
See Also

Reference