Esempio n. 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
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:AdobeReg.Controllers.SignInController"/> class.
 /// Added to set dependancy injection objects.
 /// </summary>
 /// <param name="context">Context.</param>
 /// <param name="configuration">Configuration.</param>
 /// <param name="crpto">Crpto.</param>
 /// <param name="adobeGuid">Adobe GUID.</param>
 public SignInController(AdobeRegContext context, IConfiguration configuration, ISlapCrypto crpto, IHttpContextAccessor httpContextAccessor)
 {
     _context             = context;
     Configuration        = configuration; // added to inject configuration
     sCrypt               = crpto;         // added to inject crypto
     _httpContextAccessor = httpContextAccessor;
 }
Esempio n. 3
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;
 }