예제 #1
0
 public static void Initialize(IApplicationContext applicationContext, ITicketManager ticketManager
                               , IWorkmateMembershipProvider workmateMembershipProvider, IWorkmateRoleProvider workmateRoleProvider
                               , IArticleManager articleManager, IRequestHelper requestHelper
                               , IArticleAttachmentManager articleAttachmentManager, IApplicationManager applicationManager
                               , IArticleGroupManager articleGroupManager, IArticleGroupThreadManager articleGroupThreadManager
                               , IApplicationDataCache applicationDataCache, IProfileImageManager profileImageManager
                               , ISystemProfileImageManager systemProfileImageManager, IEmailManager emailManager
                               , IEmailPublisher emailPublisher
                               , IOfficeManager officeManager, IDepartmentManager departmentManager
                               )
 {
     _ApplicationContext         = applicationContext;
     _TicketManager              = ticketManager;
     _WorkmateMembershipProvider = workmateMembershipProvider;
     _WorkmateRoleProvider       = workmateRoleProvider;
     _ArticleManager             = articleManager;
     _RequestHelper              = requestHelper;
     _ArticleAttachmentManager   = articleAttachmentManager;
     _ApplicationManager         = applicationManager;
     _ArticleGroupManager        = articleGroupManager;
     _ArticleGroupThreadManager  = articleGroupThreadManager;
     _ApplicationDataCache       = applicationDataCache;
     _ProfileImageManager        = profileImageManager;
     _SystemProfileImageManager  = systemProfileImageManager;
     _EmailManager      = emailManager;
     _EmailPublisher    = emailPublisher;
     _OfficeManager     = officeManager;
     _DepartmentManager = departmentManager;
 }
예제 #2
0
 public ChangeEmailController(IEmailPublisher email, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IOptions <EmailOptions> options)
 {
     _email         = email;
     _userManager   = userManager;
     _signInManager = signInManager;
     _options       = options.Value;
 }
예제 #3
0
 public AuthService(IJwtBuilder jwtBuilder, IEmailPublisher emailPublisher, ICodeRepository codeRepository,
                    IIdentityRepository identityRepository)
 {
     _jwtBuilder         = jwtBuilder;
     _emailPublisher     = emailPublisher;
     _codeRepository     = codeRepository;
     _identityRepository = identityRepository;
 }
예제 #4
0
 public NewUserController(INewUserRepository newUserRepository, IEmailPublisher emailPublisherObject)
 {
     _emailPublisherObject = emailPublisherObject;
     _newUserRepository    = newUserRepository;
 }
예제 #5
0
 public DefaultController(IEmailPublisher emailPublisher, IMSEmailPublisher iMSEmailPublisher)
 {
     this._emailPublisher    = emailPublisher;
     this._iMSEmailPublisher = iMSEmailPublisher;
 }
 public DefaultController(IEmailPublisher emailPublisher)
 {
     this._emailPublisher = emailPublisher;
 }
 public RegisterController(UserManager <ApplicationUser> userManager, IEmailPublisher publisher, IOptions <EmailOptions> emailOptions)
 {
     _userManager  = userManager;
     _publisher    = publisher;
     _emailOptions = emailOptions.Value;
 }
예제 #8
0
 public AccountController(IRepository <UserAccount> userAccountRepository, IEmailPublisher emailPublisher)
     : base()
 {
     //_userAccountService = new UserAccountService( userAccountRepository, emailPublisher );
 }
 public ProfileController(IEmailPublisher email, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IOptions <EmailOptions> options)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
 }
예제 #10
0
 public PasswordsController(UserManager <ApplicationUser> userManager, IEmailPublisher publisher, IOptions <EmailOptions> options)
 {
     _userManager = userManager;
     _publisher   = publisher;
     _options     = options.Value;
 }