Ejemplo n.º 1
0
 public IISSitesOptionsFactory(ILogService log, IIISClient iisClient,
                               IISSiteHelper helper, IArgumentsService arguments,
                               UserRoleService userRoleService)
 {
     _iisClient     = iisClient;
     _siteHelper    = helper;
     _log           = log;
     _arguments     = arguments;
     _optionsHelper = new IISSiteOptionsHelper(log);
     Hidden         = !(iisClient.Version.Major > 6);
     Disabled       = IISSites.Disabled(userRoleService);
 }
Ejemplo n.º 2
0
 public IISSiteOptionsFactory(ILogService log, IIISClient iisClient, IISSiteHelper helper) : base(log)
 {
     _iisClient     = iisClient;
     _siteHelper    = helper;
     _optionsHelper = new IISSiteOptionsHelper(log);
 }