Ejemplo n.º 1
0
 public KeysController(
     IKeysStoreService keysStoreService,
     ILogFactory logFactory)
 {
     _keysStoreService = keysStoreService ?? throw new ArgumentNullException(nameof(keysStoreService));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
Ejemplo n.º 2
0
 public SignService(
     IKeysStoreService keysStoreService)
 {
     _keysStoreService = keysStoreService ?? throw new Exception(nameof(keysStoreService));
 }