public EfCoreCourseService(ILogger <EfCoreCourseService> logger, IImagePersister imagePersister, MyCourseDbContext dbContext, IOptionsMonitor <CoursesOptions> coursesOptions) { this.imagePersister = imagePersister; this.coursesOptions = coursesOptions; this.logger = logger; this.dbContext = dbContext; }
public EfCoreCourseService(ILogger <EfCoreCourseService> logger, IImagePersister imagePersister, MyCourseDbContext dbContext, IOptionsMonitor <CoursesOptions> coursesOptions) //per esprimere la dipendenza del servizio applicativo dal servizio infrastutturale (MyCourseDbContext) { this.coursesOptions = coursesOptions; this.logger = logger; this.imagePersister = imagePersister; this.dbContext = dbContext; }
public AdoNetCourseService(ILogger <AdoNetCourseService> logger, IDatabaseAccessor db, IImagePersister imagePersister, IOptionsMonitor <CoursesOptions> coursesOptions) { this.imagePersister = imagePersister; this.coursesOptions = coursesOptions; this.logger = logger; this.db = db; }
public AdoNetPasswordService(ILogger <AdoNetPasswordService> log, IDatabaseAccessor db, IImagePersister par_ImagePersister, IOptionsMonitor <PasswordsOptions> OpzioniPassword) { this.par_ImagePersister = par_ImagePersister; this.OpzioniPassword = OpzioniPassword; this.log = log; this.db = db; }
public AdoNetCourseService(ILogger <AdoNetCourseService> logger, IDatabaseAccessor db, IImagePersister imagePersister, IHttpContextAccessor httpContextAccessor, IEmailClient emailClient, IOptionsMonitor <CoursesOptions> coursesOptions) { this.imagePersister = imagePersister; this.coursesOptions = coursesOptions; this.logger = logger; this.emailClient = emailClient; this.httpContextAccessor = httpContextAccessor; this.db = db; }
public EfCoreCourseService(IHttpContextAccessor httpContextAccessor, ILogger <EfCoreCourseService> logger, IEmailClient emailClient, IImagePersister imagePersister, MyCourseDbContext dbContext, IOptionsMonitor <CoursesOptions> coursesOptions) { this.httpContextAccessor = httpContextAccessor; this.imagePersister = imagePersister; this.coursesOptions = coursesOptions; this.logger = logger; this.dbContext = dbContext; this.emailClient = emailClient; }
public EFCorePasswordService(ILogger <AdoNetPasswordService> log, PasswordDbContext dbContext, IImagePersister par_ImagePersister, IOptionsMonitor <PasswordsOptions> OpzioniPassword, IHttpContextAccessor par_HttpContextAccessor) { this.par_ImagePersister = par_ImagePersister; this.OpzioniPassword = OpzioniPassword; this.par_HttpContextAccessor = par_HttpContextAccessor; this.log = log; this.dbContext = dbContext; }
public EfCoreCourseService( IHttpContextAccessor httpContextAccessor, ILogger <EfCoreCourseService> logger, IEmailClient emailClient, IImagePersister imagePersister, IPaymentGateway paymentGateway, MyCourseDbContext dbContext, LinkGenerator linkGenerator, ITransactionLogger transactionLogger, IOptionsMonitor <CoursesOptions> coursesOptions) { this.httpContextAccessor = httpContextAccessor; this.imagePersister = imagePersister; this.paymentGateway = paymentGateway; this.coursesOptions = coursesOptions; this.logger = logger; this.dbContext = dbContext; this.linkGenerator = linkGenerator; this.transactionLogger = transactionLogger; this.emailClient = emailClient; }
public AdoNetCourseService( ILogger <AdoNetCourseService> logger, IDatabaseAccessor db, IImagePersister imagePersister, IHttpContextAccessor httpContextAccessor, IEmailClient emailClient, IOptionsMonitor <CoursesOptions> coursesOptions, IPaymentGateway paymentGateway, LinkGenerator linkGenerator, ITransactionLogger transactionLogger) { this.imagePersister = imagePersister; this.coursesOptions = coursesOptions; this.logger = logger; this.emailClient = emailClient; this.httpContextAccessor = httpContextAccessor; this.db = db; this.paymentGateway = paymentGateway; this.linkGenerator = linkGenerator; this.transactionLogger = transactionLogger; }
/// <summary> /// Constructor accepting alternate class for image persistence /// </summary> public ImageManager(IImagePersister imagePersister) { ImagePersister = imagePersister; }
/// <summary> /// Default constructor using default Amazon S3 cloud blog storage /// </summary> public ImageManager() { ImagePersister = new AwsS3ImagePersister(); }
public PastryService(ILogger <PastryService> logger, IDatabaseAccessor db, IImagePersister imagePersister) { this.imagePersister = imagePersister; this.logger = logger; this.db = db; }