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
Afficher le fichier Open project: KCL5South/WhippedCream Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

IServiceBehavior() public méthode

public IServiceBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, System serviceHostBase ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription
serviceHostBase System
Résultat void

IServiceBehavior() public méthode

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
Résultat void