コード例 #1
0
 public EmailManager(IEmailRepository emailRepository, IOptions<AppSettings> settings,
     ITeamRepository teamRepository)
 {
     this._teamRepository = teamRepository;
     this._emailRepository = emailRepository;
     this._settings = settings.Value;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
        // private IConfiguration configuration;
        public AzureBlobStorageHandler(IOptions<AppSettings> settings)
        {

            this.settings = settings.Value;
        }
コード例 #5
0
 public LocalFileSystemStorageHandler(IOptions<AppSettings> settings, IHostingEnvironment hostingEnvironment)
 {
     this.settings = settings.Value;
     this.hostingEnvironment = hostingEnvironment;
 }