Ejemplo n.º 1
0
 public DeployService(IDeployServiceFactory dsFactory, IConfFactory cFactory)
 {
     _dsFactory = dsFactory;
     _cFactory = cFactory;
     _logger = _dsFactory.CreateLoggerObj();
     _logger.Info("Service instance is created");
     if (OperationContext.Current != null)
         OperationContext.Current.Channel.Closing += ClearLocks;
 }
Ejemplo n.º 2
0
 public DeployService(IDeployServiceFactory dsFactory, IConfFactory cFactory)
 {
     _dsFactory = dsFactory;
     _cFactory  = cFactory;
     _logger    = _dsFactory.CreateLoggerObj();
     _logger.Info("Service instance is created");
     if (OperationContext.Current != null)
     {
         OperationContext.Current.Channel.Closing += ClearLocks;
     }
 }