예제 #1
0
 public UserInformationController(IUserInformationService service)
 {
     _service = service;
 }
예제 #2
0
 public UserController(IUserInformationService userInformation, ForagerContext context)
 {
     this.userInformation = userInformation;
     this.context         = context;
 }
예제 #3
0
 public PartnerFindersController(IFindingPartnerUserService findingPartnerUserService, IUserInformationService userInformationService)
 {
     _findingPartnerUserService = findingPartnerUserService;
     _userInformationService    = userInformationService;
 }
예제 #4
0
 public UserInformationController(IUserInformationService userInformationService, IVerificationCodeHelper verificationCodeHelper)
 {
     this.userInformationService = userInformationService;
     this.verificationCodeHelper = verificationCodeHelper;
 }
 public DisplayInformationService(IUserInformationService userInformationService,
                                  IPostInformationService postInformationService)
 {
     _userInformationService = userInformationService;
     _postInformationService = postInformationService;
 }
 public HomeController(IUserInformationService userInformationService)
 {
     _userInformationService = userInformationService;
 }
예제 #7
0
 public UserInformationServiceTest(ProgramInitFixture programInitFixture) : base(programInitFixture)
 {
     this.userInformationService = Provider.GetService(typeof(IUserInformationService)) as IUserInformationService;
     this.verificationCodeHelper = this.Provider.GetService(typeof(IVerificationCodeHelper)) as IVerificationCodeHelper;
 }
        static UrlToImageSourceConverter()
        {
            ExportProvider provider = (ExportProvider)Application.Current.Resources[Consts.IocResource];

            _userInfoService = _userInfoService ?? provider.GetExportedValue <IUserInformationService>();
        }
예제 #9
0
 public UserMessageHandler(IUserInformationService userInformationService, EventHandlerMapper handlerMapper)
 {
     _userInformationService = userInformationService;
     _mapper = handlerMapper.Mapper;
 }
예제 #10
0
 public UserService(IUserRepository userRepository,
                    IUserInformationService informationService)
 {
     _userRepository     = userRepository;
     _informationService = informationService;
 }
예제 #11
0
 public TopMenuViewComponent(SignInManager <User> signInManager, IUserInformationService userInformation)
 {
     _signInManager   = signInManager;
     _userInformation = userInformation;
 }
예제 #12
0
 public UserProfileModel(IUserInformationService userInformation, ITeamsManagerService teamManager)
 {
     _userInformation = userInformation;
     _teamManager     = teamManager;
 }
        public void Initialize()
        {
            managementService = new AccountManagementService();
            accountAdministrationService = new AccountAdministrationService();

            userInformationServiceMock = _factory.CreateMock<IUserInformationService>();
            accountAdministrationDaoMock = _factory.CreateMock<IAccountAdministrationDao>();
            authorizationServiceMock = _factory.CreateMock<IAuthorizationService>();
            accountAdministrationServiceMock = _factory.CreateMock<IAccountAdministrationService>();
            userInformationDaoMock = _factory.CreateMock<IUserInformationDao>();

            managementService.UserInformationDao = userInformationDaoMock.MockObject;
            userInformationService = userInformationServiceMock.MockObject;
            managementService.UserInformationService = userInformationService;
            managementService.AccountAdministrationDao = accountAdministrationDaoMock.MockObject;
            accountAdministrationService.AccountAdministrationDao = accountAdministrationDaoMock.MockObject;
            managementService.AuthorizationService = authorizationServiceMock.MockObject;
            managementService.AccountAdministrationService = accountAdministrationServiceMock.MockObject;
            helper.UserAccountHelper(userAccount);
            //accountAdministrationService.SaveOrUpdateUser(userAccount);
            userAccountId = userAccount.Id;
        }