Пример #1
0
 public DomainTlsSecurityProfileDao(IConnectionInfoAsync connectionInfo,
                                    IMxSecurityTesterConfig mxSecurityTesterConfig,
                                    ILogger log)
 {
     _connectionInfo         = connectionInfo;
     _mxSecurityTesterConfig = mxSecurityTesterConfig;
     _log = log;
 }
 public MxSecurityTesterProcessorRunner(IScheduler scheduler,
                                        IMxSecurityTesterProcessor mxSecurityTesterProcessor,
                                        IMxSecurityTesterConfig mxSecurityTesterConfig)
 {
     _scheduler = scheduler;
     _mxSecurityTesterProcessor = mxSecurityTesterProcessor;
     _mxSecurityTesterConfig    = mxSecurityTesterConfig;
 }
        public void SetUp()
        {
            _tlsSecurityTesterAdaptor = A.Fake <ITlsSecurityTesterAdapator>();
            _cache  = A.Fake <ICache>();
            _config = A.Fake <IMxSecurityTesterConfig>();

            _cachingTlsSecurityTesterAdaptor = new CachingTlsSecurityTesterAdapator(_tlsSecurityTesterAdaptor,
                                                                                    _cache, _config, A.Fake <ILogger>());
        }
Пример #4
0
 public SmtpClient(ISmtpSerializer smtpSerializer,
                   ISmtpDeserializer smtpDeserializer,
                   IMxSecurityTesterConfig mxSecurityTesterConfig,
                   ILogger log)
 {
     _smtpSerializer         = smtpSerializer;
     _smtpDeserializer       = smtpDeserializer;
     _mxSecurityTesterConfig = mxSecurityTesterConfig;
     _log = log;
 }
 public CachingTlsSecurityTesterAdapator(ITlsSecurityTesterAdapator tlsSecurityTesterAdaptor,
                                         ICache cache,
                                         IMxSecurityTesterConfig config,
                                         ILogger log)
 {
     _tlsSecurityTesterAdaptor = tlsSecurityTesterAdaptor;
     _cache  = cache;
     _config = config;
     _log    = log;
 }