SimpleInjectorServiceBehaviorAddBindingParameters Method

Simple Injector
Provides the ability to pass custom data to binding elements to support the contract implementation.

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

public void AddBindingParameters(
	ServiceDescription serviceDescription,
	ServiceHostBase serviceHostBase,
	Collection<ServiceEndpoint> endpoints,
	BindingParameterCollection bindingParameters
)

Parameters

serviceDescription
Type: System.ServiceModel.DescriptionServiceDescription
The service description of the service.
serviceHostBase
Type: System.ServiceModelServiceHostBase
The host of the service.
endpoints
Type: System.Collections.ObjectModelCollectionServiceEndpoint
The service endpoints.
bindingParameters
Type: System.ServiceModel.ChannelsBindingParameterCollection
Custom objects to which binding elements have access.

Implements

IServiceBehaviorAddBindingParameters(ServiceDescription, ServiceHostBase, CollectionServiceEndpoint, BindingParameterCollection)
See Also

Reference