C# Class WhippedCream.DataServiceDataLayer.DataServiceDependencyBehavior

This implementation of IServiceBehavior is used by Whipped Cream to allow for dependency injection when creating service hosts.
Inheritance: IServiceBehavior
Mostrar archivo Open project: KCL5South/WhippedCream Class Usage Examples

Public Methods

Method Description
DataServiceDependencyBehavior ( IUnityContainer container ) : System.ServiceModel.Description

Constructor.

IServiceBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, System serviceHostBase ) : void
IServiceBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, System serviceHostBase, System endpoints, System bindingParameters ) : void

Method Details

DataServiceDependencyBehavior() public method

Constructor.
Thrown when is null.
public DataServiceDependencyBehavior ( IUnityContainer container ) : System.ServiceModel.Description
container IUnityContainer The IOC Container used for dependency injection.
return System.ServiceModel.Description

IServiceBehavior() public method

public IServiceBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, System serviceHostBase ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription
serviceHostBase System
return void

IServiceBehavior() public method

public IServiceBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, System serviceHostBase, System endpoints, System bindingParameters ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription
serviceHostBase System
endpoints System
bindingParameters System
return void