예제 #1
0
 public IIS(ILogService log, IStorePlugin store, ScheduledRenewal target, IISClient iisClient, string identifier) :
     base(log, target, identifier)
 {
     _storePlugin = store;
     _iisClient   = iisClient;
     _tempSiteId  = target.Binding.ValidationSiteId ?? target.Binding.TargetSiteId;
 }
 public InputService(IISClient iisClient, IOptionsService options, ILogService log, ISettingsService settings)
 {
     _log       = log;
     _options   = options;
     _pageSize  = settings.HostsPerPage;
     _iisClient = iisClient;
 }
예제 #3
0
 public IISInstaller(ScheduledRenewal renewal, IISClient iisClient, ITargetPlugin targetPlugin, ILogService log)
 {
     _iisClient    = iisClient;
     _renewal      = renewal;
     _targetPlugin = targetPlugin;
     _log          = log;
 }
예제 #4
0
 public CertificateStore(ScheduledRenewal renewal, ILogService log, IISClient iisClient)
 {
     _log       = log;
     _renewal   = renewal;
     _iisClient = iisClient;
     ParseCertificateStore();
     _store = new X509Store(_storeName, StoreLocation.LocalMachine);
 }
예제 #5
0
 public LogsModel()
 {
     Logs = new ObservableCollection <LogType>();
     try
     {
         client = ISClient.ClientServiceIns;
         client.MessageRecieved += GetMessageFromClient;
         SendCommandToService(new CommandRecievedEventArgs((int)CommandEnum.LogCommand, null, null));
         Thread.Sleep(1000);
     } catch (Exception e) {}
 }
예제 #6
0
 public ConfigModel()
 {
     try
     {
         this.client = ISClient.ClientServiceIns;
         this.client.MessageRecieved += GetMessageFromClient;
         SendCommandToService(new CommandRecievedEventArgs((int)CommandEnum.GetConfigCommand, null, null));
     } catch (Exception e)
     {
         NotConnectedValues();
     }
 }
예제 #7
0
 public LogModel()
 {
     try
     {
         this.client = ISClient.ClientServiceIns;
         this.client.MessageRecieved += GetMessageFromClient;
         SendCommandToService(new CommandRecievedEventArgs((int)CommandEnum.LogCommand, null, null));
     } catch (Exception e)
     {
         this.Logs = null;
     }
 }
예제 #8
0
 public ImageWebModel()
 {
     Students = new ObservableCollection <Student>();
     try
     {
         client = ISClient.ClientServiceIns;
         client.MessageRecieved += GetMessageFromClient;
         SendCommandToService(new CommandRecievedEventArgs((int)CommandEnum.GetConfigCommand, null, null));
     } catch (Exception e)
     {
     }
 }
예제 #9
0
 public PhotosModel()
 {
     try
     {
         client = ISClient.ClientServiceIns;
     }
     catch (Exception e)
     {
         client = null;
     }
     Photos         = new List <PhotosInfo>();
     ThumbnailsPath = new List <string>();
 }
예제 #10
0
 private ConfigModel()
 {
     DefaultValues();
     try
     {
         client = ISClient.ClientServiceIns;
         client.MessageRecieved += GetMessageFromClient;
         Console.WriteLine("Sending Command");
         SendCommandToService(new CommandRecievedEventArgs((int)CommandEnum.GetConfigCommand, null, null));
     } catch (Exception e)
     {
     }
 }
예제 #11
0
 public FileSystemFactory(IISClient iisClient, ILogService log) : base(log, nameof(FileSystem), "Save file on local (network) path")
 {
     _iisClient = iisClient;
 }
예제 #12
0
 public IISInstallerFactory(ILogService log, IISClient iisClient) : base(log, PluginName, "Create or update IIS bindings")
 {
     _iisClient = iisClient;
 }
예제 #13
0
 public IISFtpInstaller(ScheduledRenewal renewal, IISClient iisClient)
 {
     _iisClient = iisClient;
     _renewal   = renewal;
 }
예제 #14
0
 public IISFtpInstallerFactory(ILogService log, IISClient iisClient) :
     base(log, "iisftp", "Create or update ftps bindings in IIS")
 {
     _iisClient = iisClient;
 }
예제 #15
0
 public IIS(ScheduledRenewal renewal, Target target, IISClient iisClient, ILogService log, IInputService input, ProxyService proxy, string identifier) :
     base(renewal, target, iisClient, log, input, proxy, identifier)
 {
     _iisClient.PrepareSite(target);
 }
예제 #16
0
 public IISSiteFactory(ILogService log, IISClient iisClient) :
     base(log, nameof(IISSite), "SAN certificate for all bindings of an IIS site")
 {
     _iisClient = iisClient;
 }
예제 #17
0
 public IISWebInstallerFactory(ILogService log, IISClient iisClient) : base(log, PluginName, "Create or update https bindings in IIS")
 {
     _iisClient = iisClient;
 }
예제 #18
0
 public IISSites(ILogService log, IISClient iisClient) : base(log, iisClient)
 {
 }
예제 #19
0
 public IISSitesFactory(ILogService log, IISClient iisClient) :
     base(log, nameof(IISSites), "SAN certificate for all bindings of multiple IIS sites")
 {
     _iisClient = iisClient;
 }
예제 #20
0
 public IISBinding(ILogService logService, IISClient iisClient)
 {
     _iisClient = iisClient;
     _log       = logService;
 }
 public IIS()
 {
     _iisClient = new IISClient();
 }
예제 #22
0
 public IISFactory(ILogService log, IISClient iisClient) :
     base(log, "IIS", "Use IIS as endpoint", AcmeProtocol.CHALLENGE_TYPE_SNI)
 {
     _iisClient = iisClient;
 }
예제 #23
0
 public FileSystem(ScheduledRenewal renewal, Target target, IISClient iisClient, ILogService log, IInputService input, ProxyService proxy, string identifier) :
     base(log, input, proxy, renewal, target, identifier)
 {
     _iisClient = iisClient;
 }
예제 #24
0
 public IISFactory(ILogService log, IISClient iisClient) :
     base(log, nameof(IIS), "Create temporary application in IIS")
 {
     _iisClient = iisClient;
 }
예제 #25
0
 public IISSite(ILogService logService, IISClient iisClient)
 {
     _log       = logService;
     _iisClient = iisClient;
 }
예제 #26
0
 public IISBindingFactory(ILogService log, IISClient iisClient) :
     base(log, nameof(IISBinding), "Single binding of an IIS site")
 {
     _iisClient = iisClient;
 }