예제 #1
0
 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
 }
예제 #2
0
 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;
 }