Esempio n. 1
0
        public TestProfileService()
        {
            var services = new ContainerResolver().Container;

            _profileService = (IProfileService)services.GetService(typeof(IProfileService));
            _encryption     = (IEncryptionManager)services.GetService(typeof(IEncryptionManager));
        }
Esempio n. 2
0
        public TestProfileAssessmentService()
        {
            var services = new ContainerResolver().Container;

            _assessmentService = (IProfileAssessmentService)services.GetService(typeof(IProfileAssessmentService));
            _programService    = (IProgramService)services.GetService(typeof(IProgramService));
        }
Esempio n. 3
0
        public TestAccountService()
        {
            var services = new ContainerResolver().Container;

            _accountService = (IAccountService)services.GetService(typeof(IAccountService));
            _randomStringGeneratorService = (RandomStringGeneratorService)services.GetService(typeof(RandomStringGeneratorService));
            _emailService       = (IEmailService)services.GetService(typeof(IEmailService));
            _calculationService = (IProfilePercentageCalculationService)services.GetService(typeof(IProfilePercentageCalculationService));
            _applicationProgressStatusService = (IApplicationProgressStatusService)services.GetService(typeof(IApplicationProgressStatusService));
        }
        public TestPushNotification()
        {
            var services = new ContainerResolver().Container;

            _accountService = (IAccountService)services.GetService(typeof(IAccountService));
            _randomStringGeneratorService = (RandomStringGeneratorService)services.GetService(typeof(RandomStringGeneratorService));
            _emailService            = (IEmailService)services.GetService(typeof(IEmailService));
            _calculationService      = (IProfilePercentageCalculationService)services.GetService(typeof(IProfilePercentageCalculationService));
            _pushNotificationService = (IPushNotificationService)services.GetService(typeof(IPushNotificationService));
        }
Esempio n. 5
0
        public TestActivityService()
        {
            var services = new ContainerResolver().Container;

            _activityAndChallengesService = (IActivityAndChallengesService)services.GetService(typeof(IActivityAndChallengesService));
        }
        public TestSocialService()
        {
            var services = new ContainerResolver().Container;

            _socialService = (ISocialService)services.GetService(typeof(ISocialService));
        }