Example #1
0
 public UserInformationController(IUserInformationService service)
 {
     _service = service;
 }
Example #2
0
 public UserController(IUserInformationService userInformation, ForagerContext context)
 {
     this.userInformation = userInformation;
     this.context         = context;
 }
Example #3
0
 public PartnerFindersController(IFindingPartnerUserService findingPartnerUserService, IUserInformationService userInformationService)
 {
     _findingPartnerUserService = findingPartnerUserService;
     _userInformationService    = userInformationService;
 }
 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;
 }
 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>();
        }
Example #9
0
 public UserMessageHandler(IUserInformationService userInformationService, EventHandlerMapper handlerMapper)
 {
     _userInformationService = userInformationService;
     _mapper = handlerMapper.Mapper;
 }
Example #10
0
 public UserService(IUserRepository userRepository,
                    IUserInformationService informationService)
 {
     _userRepository     = userRepository;
     _informationService = informationService;
 }
 public TopMenuViewComponent(SignInManager <User> signInManager, IUserInformationService userInformation)
 {
     _signInManager   = signInManager;
     _userInformation = userInformation;
 }
Example #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;
        }