public MessageHandler(PillarBoxContext dbContext, IInboxService inboxService, IMessageContext context, INotificationDespatcher notify) { _dbContext = dbContext; _inboxService = inboxService; _context = context; _notify = notify; }
private InboxController CreateInboxController(IInboxService inboxService) { var serviceContext = new Mock <IServiceContext>(); serviceContext.SetupGet(_ => _.Inbox).Returns(inboxService); return(new InboxController(serviceContext.Object)); }
public InboxViewModel(IInboxService inboxService, IMvxMessenger mvxMessenger) { _inboxService = inboxService; _mvxMessenger = mvxMessenger; // fill our Inbox up with Items of Stuff from IInboxService ReloadInbox(); // subscribe to Inbox Changed messages to react to changes in inbox service _inboxChangedSubToken = _mvxMessenger.Subscribe <InboxChangedMessage>(OnInboxChanged); }
public InboxViewModel(IInboxService inboxService, IMvxMessenger mvxMessenger) { _inboxService = inboxService; _mvxMessenger = mvxMessenger; // fill our Inbox up with Items of Stuff from IInboxService ReloadInbox(); // subscribe to Inbox Changed messages to react to changes in inbox service _inboxChangedSubToken = _mvxMessenger.Subscribe<InboxChangedMessage>(OnInboxChanged); }
public MakeStuffActionableViewModel(IMvxMessenger mvxMessenger, IInboxService inboxService, IProjectService projectService, IActionService actionService) { _mvxMessenger = mvxMessenger; _inboxService = inboxService; _projectService = projectService; _actionService = actionService; ReloadProjects(); // subscribe to Projects Changed messages to react to changes in project service _projectsChangedSubToken = _mvxMessenger.Subscribe <ProjectsChangedMessage>(OnProjectsChanged); _isSingleActionProject = true; }
public MakeStuffActionableViewModel(IMvxMessenger mvxMessenger, IInboxService inboxService, IProjectService projectService, IActionService actionService) { _mvxMessenger = mvxMessenger; _inboxService = inboxService; _projectService = projectService; _actionService = actionService; ReloadProjects(); // subscribe to Projects Changed messages to react to changes in project service _projectsChangedSubToken = _mvxMessenger.Subscribe<ProjectsChangedMessage>(OnProjectsChanged); _isSingleActionProject = true; }
/// <summary> /// Provides APIs to handle requests related to inbox, rules and messages. /// </summary> /// <param name="service"></param> public InboxController(IInboxService service) { _service = service; }
public AddInboxDeviceHandler(IInboxService inboxService) { _inboxService = inboxService; }
public ForwardMessageHandler(IInboxService inboxService) { _inboxService = inboxService; }
public ViewMessageController(IMapper mapper, IInboxService inboxService, IMessagesService messagesService) { _mapper = mapper; _inboxService = inboxService; _messagesService = messagesService; }
public AddStuffViewModel(IInboxService inboxService) { _inboxService = inboxService; }
public InboxController(IInboxService inboxService) { _inboxService = inboxService; }
public AddInboxRecipientHandler(IInboxService inboxService) { _inboxService = inboxService; }
public DeleteMessagesHandler(IInboxService inboxService) { _inboxService = inboxService; }
public CreateInboxHandler(IInboxService inboxService) { _inboxService = inboxService; }
// private IInboxService _inboxService; // private IRepository _repository; public ForumService(IInboxService inboxService, IRepository repository) { // _inboxService = inboxService; // _repository = repository; }
public InboxDetailsController(IInboxService inboxService) { _inboxService = inboxService; }
public GetMessagesHandler(IInboxService inboxService) { _inboxService = inboxService; }