SimpleInjectorServiceHost Constructor (Container, Type, Uri)

Simple Injector
Initializes a new instance of the SimpleInjectorServiceHost class.

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

public SimpleInjectorServiceHost(
	Container container,
	Type serviceType,
	params Uri[] baseAddresses
)

Parameters

container
Type: SimpleInjectorContainer
The container.
serviceType
Type: SystemType
Type of the service.
baseAddresses
Type: SystemUri
The base addresses.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when container is a null reference or serviceType is a null reference.
See Also

Reference