Example #1
0
 public VeracodeRepository(IVeracodeWrapper wrapper)
 {
     _wrapper = wrapper;
 }
 public VeracodeRepository(IOptions <VeracodeConfiguration> config)
 {
     _wrapper      = new VeracodeWrapper(new HttpService(config, new CryptoService()));
     _policyClient = new PolicyClient(new HttpService(config, new CryptoService()));
 }