Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="log"></param>
 /// <param name="input"></param>
 /// <param name="options"></param>
 /// <param name="proxy"></param>
 /// <param name="renewal"></param>
 /// <param name="target"></param>
 /// <param name="runLevel"></param>
 /// <param name="identifier"></param>
 public HttpValidation(TOptions options, HttpValidationParameters pars) :
     base(pars.LogService, options, pars.Identifier)
 {
     _input      = pars.InputService;
     _proxy      = pars.ProxyService;
     _renewal    = pars.Renewal;
     _targetPart = pars.TargetPart;
     _path       = options.Path;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="log"></param>
 /// <param name="input"></param>
 /// <param name="options"></param>
 /// <param name="proxy"></param>
 /// <param name="renewal"></param>
 /// <param name="target"></param>
 /// <param name="runLevel"></param>
 /// <param name="identifier"></param>
 public HttpValidation(TOptions options, RunLevel runLevel, HttpValidationParameters pars)
 {
     _options  = options;
     _runLevel = runLevel;
     _path     = options.Path;
     _log      = pars.LogService;
     _input    = pars.InputService;
     _proxy    = pars.ProxyService;
     _settings = pars.Settings;
     _renewal  = pars.Renewal;
 }