Beispiel #1
0
 public ImageService(IUserAvatarRepository userAvatarRepository, IUserImageRepository userImageRepository, IProfileService profileService, IUserRepository userRepository, ISettingsManager settingsManager)
 {
     _userAvatarRepository = userAvatarRepository;
     _userImageRepository  = userImageRepository;
     _profileService       = profileService;
     _userRepository       = userRepository;
     _settingsManager      = settingsManager;
 }
Beispiel #2
0
 public UserAppService(UserDomainService userDomainService,
                       IUserRepository userRepository,
                       IUserAvatarRepository userAvatarRepository)
 {
     _userDomainService    = userDomainService;
     _userRepository       = userRepository;
     _userAvatarRepository = userAvatarRepository;
 }
Beispiel #3
0
 public UserDomainService(IUserRepository userRepository,
                          UserManager userManager,
                          IUserAvatarRepository userAvatarRepository
                          , GenericAttributeDomianService genericAttributeService)
 {
     _userRepository          = userRepository;
     _userAvatarRepository    = userAvatarRepository;
     _userManager             = userManager;
     _genericAttributeService = genericAttributeService;
 }
 public LoadUserAvatarRepository(IUserInfoRepository userInfoRepository
     , IUserAvatarRepository userAvatarRepository
     , ILoadUserAvatarFactory loadUserAvatarFactory
     , ISendUserAvatarFactory sendUserAvatarFactory)
 {
     _userInfoRepository = userInfoRepository;
     _userAvatarRepository = userAvatarRepository;
     _loadUserAvatarFactory = loadUserAvatarFactory;
     _sendUserAvatarFactory = sendUserAvatarFactory;
 }
Beispiel #5
0
 public VideoDomainService(IVideoRepository videoRepository
                           , IUserRepository userRepository
                           , IUserAvatarRepository userAvatarRepository
                           , IUserLiveRoomRepository userLiveRoomRepository)
 {
     _videoRepository        = videoRepository;
     _userRepository         = userRepository;
     _userAvatarRepository   = userAvatarRepository;
     _userLiveRoomRepository = userLiveRoomRepository;
 }
Beispiel #6
0
 public UserService(IUserRepository userRepository, IRoleRepository roleRepository, IProfileRepository profileRepository, IFormsAuthenticationWrapper formsAuthWrapper, ISettingsManager settingsManager, IUserAvatarRepository userAvatarRepository, IUserImageRepository userImageRepository, ISecurityLogService securityLogService, ITextParsingService textParsingService, IBanRepository banRepository, IForgotPasswordMailer forgotPasswordMailer, IImageService imageService)
 {
     _userRepository       = userRepository;
     _roleRepository       = roleRepository;
     _profileRepository    = profileRepository;
     _formsAuthWrapper     = formsAuthWrapper;
     _settingsManager      = settingsManager;
     _userAvatarRepository = userAvatarRepository;
     _userImageRepository  = userImageRepository;
     _securityLogService   = securityLogService;
     _textParsingService   = textParsingService;
     _banRepository        = banRepository;
     _forgotPasswordMailer = forgotPasswordMailer;
     _imageService         = imageService;
 }
Beispiel #7
0
		public UserService(IUserRepository userRepository, IRoleRepository roleRepository, IProfileRepository profileRepository, IFormsAuthenticationWrapper formsAuthWrapper, ISettingsManager settingsManager, IUserAvatarRepository userAvatarRepository, IUserImageRepository userImageRepository, ISecurityLogService securityLogService, ITextParsingService textParsingService, IBanRepository banRepository, IForgotPasswordMailer forgotPasswordMailer, IImageService imageService)
		{
			_userRepository = userRepository;
			_roleRepository = roleRepository;
			_profileRepository = profileRepository;
			_formsAuthWrapper = formsAuthWrapper;
			_settingsManager = settingsManager;
			_userAvatarRepository = userAvatarRepository;
			_userImageRepository = userImageRepository;
			_securityLogService = securityLogService;
			_textParsingService = textParsingService;
			_banRepository = banRepository;
			_forgotPasswordMailer = forgotPasswordMailer;
			_imageService = imageService;
		}
Beispiel #8
0
 public UserApplicationService
 (
     ISignInService signInService,
     IUnitOfWork unitOfWork,
     IUserRepository userRepository,
     ICountryRepository countryRepository,
     IUserAvatarRepository userAvatarRepository
 )
 {
     _signInService        = signInService;
     _unitOfWork           = unitOfWork;
     _userRepository       = userRepository;
     _countryRepository    = countryRepository;
     _userAvatarRepository = userAvatarRepository;
 }
Beispiel #9
0
 public ImageService(IUserAvatarRepository userAvatarRepository, IUserImageRepository userImageRepository, IProfileService profileService)
 {
     _userAvatarRepository = userAvatarRepository;
     _userImageRepository  = userImageRepository;
     _profileService       = profileService;
 }
 public UserAvatarManagerService(IUserAvatarRepository repository)
 {
     _repository = repository;
 }
Beispiel #11
0
		public ImageService(IUserAvatarRepository userAvatarRepository, IUserImageRepository userImageRepository, IProfileService profileService)
		{
			_userAvatarRepository = userAvatarRepository;
			_userImageRepository = userImageRepository;
			_profileService = profileService;
		}
Beispiel #12
0
        public HeaderViewModel(IApplicationSettingsRepository applicationSettingsRepository
            , ISessionInfoRepository sessionInfoRepository
            , IUserInfoRepository userInfoRepository
            , IUserAvatarRepository userAvatarRepository

            , ILoadSessionInfoFactory loadSessionInfoFactory
            , ISendApplicationSettingsFactory sendApplicationSettingsFactory
            , ISendSessionInfoFactory sendSessionInfoFactory

            , ICommandEngineAsync<AfterLoginAttribute> afterLoginEngine

            , IVkAuthorizer vkAuthorizer
            , ILanguageRepository languageRepository
            , ILogger logger) 
            : base(languageRepository, logger)
        {
            _applicationSettingsRepository = applicationSettingsRepository;
            _sessionInfoRepository = sessionInfoRepository;
            _userInfoRepository = userInfoRepository;
            _userAvatarRepository = userAvatarRepository;

            _loadSessionInfoFactory = loadSessionInfoFactory;
            _sendApplicationSettingsFactory = sendApplicationSettingsFactory;
            _sendSessionInfoFactory = sendSessionInfoFactory;

            _afterLoginEngine = afterLoginEngine;

            _vkAuthorizer = vkAuthorizer;

            _sessionInfoRepository.Loaded += SessionInfoRepositoryLoaded;
            _userInfoRepository.Loaded += UserInfoLoaded;
            _userAvatarRepository.Loaded += UserAvatarLoaded;
        }