public EmailManager(IEmailRepository emailRepository, IOptions<AppSettings> settings, ITeamRepository teamRepository) { this._teamRepository = teamRepository; this._emailRepository = emailRepository; this._settings = settings.Value; }
public UserAccountManager(IUserRepository userRepository, IUserAuthHelper userSessionHelper, IProjectManager projectManager, ITeamRepository teamRepository, IEmailManager emailManager, IEmailRepository emailRepository, IOptions<AppSettings> settings) { this.emailManager = emailManager; this.userRepository = userRepository; this.userSessionHelper = userSessionHelper; this.projectManager = projectManager; this.teamRepository = teamRepository; this.emailRepository = emailRepository; this._settings = settings.Value; }
public CommentManager(ICommentRepository commentRepository,IUserAuthHelper userSessionHelper, IIssueRepository issueRepository, IActivityRepository activityRepository,IEmailManager emailManager,ITeamRepository teamRepository,IEmailRepository emailRepository, IOptions<AppSettings> settings) { this._settings = settings.Value; this._emailRepository = emailRepository; this._teamRepository = teamRepository; this._emailManager = emailManager; this._commentRepository = commentRepository; this._userSessionHelper = userSessionHelper; this._issueRepository = issueRepository; this._activityRepository = activityRepository; }
// private IConfiguration configuration; public AzureBlobStorageHandler(IOptions<AppSettings> settings) { this.settings = settings.Value; }
public LocalFileSystemStorageHandler(IOptions<AppSettings> settings, IHostingEnvironment hostingEnvironment) { this.settings = settings.Value; this.hostingEnvironment = hostingEnvironment; }