C# Class WhippedCream.DataServiceDataLayer.WhippedCreamDataServiceHostFactory

Whipped Cream uses this Host factory to generate service hosts with dependency injection.
Inheritance: System.Data.Services.DataServiceHostFactory
ファイルを表示 Open project: KCL5South/WhippedCream Class Usage Examples

Public Methods

Method Description
WhippedCreamDataServiceHostFactory ( IUnityContainer container ) : Microsoft.Practices.Unity

Constructor.

Protected Methods

Method Description
CreateServiceHost ( System serviceType, System baseAddresses ) : System.ServiceModel.ServiceHost

Overriden from System.Data.Services.DataServiceHostFactory.

Method Details

CreateServiceHost() protected method

Overriden from System.Data.Services.DataServiceHostFactory.
protected CreateServiceHost ( System serviceType, System baseAddresses ) : System.ServiceModel.ServiceHost
serviceType System The type of host to create.
baseAddresses System The base addresses to supply to the host.
return System.ServiceModel.ServiceHost

WhippedCreamDataServiceHostFactory() public method

Constructor.
public WhippedCreamDataServiceHostFactory ( IUnityContainer container ) : Microsoft.Practices.Unity
container IUnityContainer The IOC container used for dependency injection.
return Microsoft.Practices.Unity