예제 #1
0
 public KeysController(
     IKeysStoreService keysStoreService,
     ILogFactory logFactory)
 {
     _keysStoreService = keysStoreService ?? throw new ArgumentNullException(nameof(keysStoreService));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
 public SignService(
     IKeysStoreService keysStoreService)
 {
     _keysStoreService = keysStoreService ?? throw new Exception(nameof(keysStoreService));
 }