public AdobeTestController(AdobeRegContext context, IConfiguration configuration, ISlapCrypto crpto, IAdobeGuid adobeGuid) { _context = context; Configuration = configuration; // added to inject configuration sCrypt = crpto; // added to inject crypto aGuid = adobeGuid; // added to inject adobe Guid }
public RegParser(string xmlin, IConfiguration configuration, ISlapCrypto crpto, IAdobeGuid adobeGuid) { this.xmldoc = xmlin; this.itemorders = new List <AOrder>(); Configuration = configuration; // added to inject configuration sCrypt = crpto; aGuid = adobeGuid; }