Exemple #1
0
 public UserMessageController(IUserMessageRepository userMessageRepository, ITimeWarpAuthenticationManager authenticationManager, IRoomRepository roomRepository, INowProvider nowProvider)
 {
     _userMessageRepository = userMessageRepository;
     _authenticationManager = authenticationManager;
     _roomRepository        = roomRepository;
     _nowProvider           = nowProvider;
 }
 public MessageManagementAppService(
     IMessageRepository repository,
     IUserMessageRepository userMessageRepository
     ) : base(repository)
 {
     _repository            = repository;
     _userMessageRepository = userMessageRepository;
 }
Exemple #3
0
 public UnitOfWork(MessageContext messageContext, IApplicationUserRepository applicationUserRepository, ITokenRepository tokenRepository,
                   IUserMessageRepository userMessageRepository, IApplicationAdminRepository applicationAdminRepository)
 {
     context = messageContext;
     ApplicationUserRepository  = applicationUserRepository;
     ApplicationAdminRepository = applicationAdminRepository;
     UserMessageRepository      = userMessageRepository;
     TokenRepository            = tokenRepository;
 }
Exemple #4
0
        public override void SetUp()
        {
            base.SetUp();

            _messageRepository     = ServiceLocator.Current.GetInstance <IMessageRepository>();
            _messageService        = ServiceLocator.Current.GetInstance <IMessageService>();
            _unitOfWork            = ServiceLocator.Current.GetInstance <IUnitOfWork>();
            _userMessageRepository = ServiceLocator.Current.GetInstance <IUserMessageRepository>();
        }
 public SearchService(
     IUserRepository userRepository,
     IUserMessageRepository userMessageRepository,
     ILuceneService luceneService)
 {
     _userRepository        = userRepository;
     _userMessageRepository = userMessageRepository;
     _luceneService         = luceneService;
 }
 public UserMessagingController(
     ISecurityRepository securityRepository,
     IUserMessageSettingsRepository settingRepository,
     IUserMessageRepository messageRepository,
     IUserManagementService userManager)
 {
     _settingRepository = settingRepository;
     _messageRepository = messageRepository;
     _userManager       = userManager;
 }
 public UserMessageService(
     IUserMessageRepository userMessageRepository,
     IMessageRepository messageRepository,
     IMessageHashtagService messageHashtagService,
     IMessageMentionService messageMentionService,
     IUnitOfWork unitOfWork,
     IDatabaseTransactionService databaseTransactionService,
     ISearchService searchService)
 {
     _userMessageRepository      = userMessageRepository;
     _messageRepository          = messageRepository;
     _messageHashtagService      = messageHashtagService;
     _messageMentionService      = messageMentionService;
     _unitOfWork                 = unitOfWork;
     _databaseTransactionService = databaseTransactionService;
     _searchService              = searchService;
 }
 public MessagingLogicImpl(IUnitOfWork unitOfWork, IUserMessageRepository userMessageRepository, IUserMessagingPreferenceRepository userMessagingPreferenceRepository,
                           IEventLogRepository eventLogRepository, IUserPushNotificationDeviceRepository userPushNotificationDeviceRepository,
                           IPushNotificationMessageProvider pushNotificationMessageProvider, ICustomerRepository custRepo,
                           IUserProfileRepository userProfileRepository, IEmailClient emailClient,
                           IMessageTemplateLogic messageTemplateLogic)
 {
     _log = eventLogRepository;
     _pushNotificationMessageProvider = pushNotificationMessageProvider;
     _uow                               = unitOfWork;
     _emailClient                       = emailClient;
     _userMessageRepository             = userMessageRepository;
     _userMessagingPreferenceRepository = userMessagingPreferenceRepository;
     //_userProfileLogic = userProfileLogic;
     _custRepo = custRepo;
     _userRepo = userProfileRepository;
     _userPushNotificationDeviceRepository = userPushNotificationDeviceRepository;
     _messageTemplateLogic = messageTemplateLogic;
 }
Exemple #9
0
 public DeliveryMessagesPageController(IUserMessageRepository userMessageRepository, IUserManagementService userManagement)
 {
     _userMessageRepository = userMessageRepository;
     _userManger            = userManagement;
 }
 public ContactController(ApplicationUserManager applicationUserManager, IUserMessageRepository userMessageRepository)
     : base(applicationUserManager)
 {
     this.userMessageRepository = userMessageRepository;
 }
 public UserMessagesController()
 {
     userMessageRepository = new UserMessageRepository(db);
 }
Exemple #12
0
 public MessagePoster(IUserMessageRepository repository)
 {
     this.repository = repository;
 }
Exemple #13
0
 public UserMessageAppService(IUserMessageRepository repository)
 {
     _repository = repository;
 }
 public void Setup()
 {
     subject = new InMemoryUserMessageRepository();
 }
 public UserMessageBusiness(IUserMessageRepository userMessageRepository, IOrderRepository orderRepository)
 {
     _userMessageRepository = userMessageRepository;
     _orderRepository       = orderRepository;
 }
 public WebMessageProvider(IUserMessageRepository userMessageRepository, IEventLogRepository eventLogRepository, IUnitOfWork unitOfWork)
 {
     this.userMessageRepository = userMessageRepository;
     this.eventLogRepository    = eventLogRepository;
     this.unitOfWork            = unitOfWork;
 }
 public UserMessageController(IUserMessageRepository userMessageRepository,
                              IUserProfileRepository userProfileRepository)
 {
     _userMessageRepository = userMessageRepository;
     _userProfileRepository = userProfileRepository;
 }
 public UpcomingDeliveriesBlockController(IUserMessageRepository userMessageRepository, IUserManagementService userManger)
 {
     _userMessageRepository = userMessageRepository;
     _userManger            = userManger;
 }