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; }
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; } }
public Conf(string sessionKey, DeployContext context, IConfFactory factory) { if (sessionKey == null || sessionKey.Length >= 50) throw new ArgumentException("Session key should be no more than 50 characters", "sessionKey"); var confSection = DeployerConfigurationSection.Instance; SessionKey = sessionKey; _context = context; _updateRules = new UpdateRulesBuilder(confSection); InitializeSettings(confSection); PackageManager = factory.CreatePackageManager(); IISManager = factory.CreateIISManager(IIS, _context.UriName); }
public Conf(string sessionKey, DeployContext context, IConfFactory factory) { if (sessionKey == null || sessionKey.Length >= 50) { throw new ArgumentException("Session key should be no more than 50 characters", "sessionKey"); } var confSection = DeployerConfigurationSection.Instance; SessionKey = sessionKey; _context = context; _updateRules = new UpdateRulesBuilder(confSection); InitializeSettings(confSection); PackageManager = factory.CreatePackageManager(); IISManager = factory.CreateIISManager(IIS, _context.UriName); }
public IConf CreateConfObj(string sessionKey, DeployContext deployContext, IConfFactory confFactory) { return _confFactory(sessionKey, deployContext, confFactory); }
public IConf CreateConfObj(string sessionKey, DeployContext deployContext, IConfFactory confFactory) { return(_confFactory(sessionKey, deployContext, confFactory)); }