C# Class Griffin.Container.Wcf.ServiceLocatorServiceHost

Service host which uses an inversion of control container.
Resolved all contract and service behaviours when building the service. So register any custom behaviours
Inheritance: System.ServiceModel.ServiceHost
Exibir arquivo Open project: jgauffin/Griffin.Container Class Usage Examples

Public Methods

Method Description
ServiceLocatorServiceHost ( IParentContainer container, Type serviceConcrete ) : System

Initializes a new instance of the ServiceLocatorServiceHost class.

Private Methods

Method Description
ApplyContractBehaviors ( IServiceLocator serviceLocator ) : void

Applies the contract behaviors.

ApplyServiceBehaviors ( IServiceLocator serviceLocator ) : void

Applies the service behaviors.

Method Details

ServiceLocatorServiceHost() public method

Initializes a new instance of the ServiceLocatorServiceHost class.
public ServiceLocatorServiceHost ( IParentContainer container, Type serviceConcrete ) : System
container IParentContainer The container.
serviceConcrete System.Type Type of the service.
return System