Ejemplo n.º 1
0
 protected override ServiceHost CreateServiceHost(
     Type serviceType, Uri[] baseAddresses)
 {
     UnityServiceHost serviceHost = new UnityServiceHost(serviceType, baseAddresses);
     serviceHost.UnityContainer = ServiceDependencyBuilder.UnityContainer;
     return serviceHost;
 }
        protected override ServiceHost CreateServiceHost(
            Type serviceType, Uri[] baseAddresses)
        {
            UnityServiceHost serviceHost = new UnityServiceHost(serviceType, baseAddresses);

            serviceHost.UnityContainer = ServiceDependencyBuilder.UnityContainer;
            return(serviceHost);
        }