Esempio n. 1
0
 public Engine(ICDR cdrFile, IOptions <SecretStuff> secrets, IService service)
 {
     this.cdrFile = cdrFile ?? throw new ArgumentNullException(nameof(cdrFile));
     this.secrets = secrets.Value ?? throw new ArgumentNullException(nameof(secrets));
     this.service = service ?? throw new ArgumentNullException(nameof(service));
 }
Esempio n. 2
0
 public CDR(IOptions <SecretStuff> secrets)
 {
     this.secrets = secrets.Value;
 }