C# Class WhippedCream.DataServiceDataLayer.WhippedCreamDataServiceHost

This is the service host that Whipped Cream uses in order to allow dependency injection within WCF Data Services.
Inheritance: System.Data.Services.DataServiceHost
Mostra file Open project: KCL5South/WhippedCream Class Usage Examples

Public Methods

Method Description
WhippedCreamDataServiceHost ( IUnityContainer container, Type serviceType ) : System

Constructor.

Protected Methods

Method Description
OnOpen ( System.TimeSpan timeout ) : void

Overriden from DataServiceHost.

Method Details

OnOpen() protected method

Overriden from DataServiceHost.
protected OnOpen ( System.TimeSpan timeout ) : void
timeout System.TimeSpan The amount of time to wait for the open to complete.
return void

WhippedCreamDataServiceHost() public method

Constructor.
Thrown if is null.
public WhippedCreamDataServiceHost ( IUnityContainer container, Type serviceType ) : System
container IUnityContainer The IOC container used for dependency injection.
serviceType System.Type The type of service to host.
return System