Ejemplo n.º 1
0
 public CMKController(IKeyManagerFactory factory, IEmailClient mail, ILogger <CMKController> logger, OrkConfig config, Settings settings)
 {
     _manager = factory.BuildCmkManager();
     _mail    = mail;
     _logger  = new LoggerPipe(logger, settings, new LoggerConfig());
     _config  = config;
 }
Ejemplo n.º 2
0
 public CVKController(IKeyManagerFactory factory, ILogger <CVKController> logger, OrkConfig config, Settings settings)
 {
     _managerCvk   = factory.BuildManagerCvk();
     _ruleManager  = factory.BuildRuleManager();
     _keyIdManager = factory.BuildKeyIdManager();
     _logger       = new LoggerPipe(logger, settings, new LoggerConfig());
     _config       = config;
     _features     = settings.Features;
 }