/// <summary> /// Initializes a new instance of the <see cref="ExchangeListenerManager"/> class. /// </summary> /// <param name="userConnection"><see cref="UserConnection"/> instance.</param> public ExchangeListenerManager(UserConnection userConnection) { UserConnection = userConnection; _requestFactory = ClassFactory.Get <IHttpWebRequestFactory>(); _mailboxService = ClassFactory.Get <IMailboxService>(new ConstructorArgument("uc", userConnection)); _log = ClassFactory.Get <ISynchronizationLogger>(new ConstructorArgument("userId", userConnection.CurrentUser.Id)); }
public MailBoxController(IMailboxService mailboxService, IMapper mapper, IHubContext <MailboxHub> hubContext, IConnectionManager connectionManager) { this.mailboxService = mailboxService; this.mapper = mapper; this.hubContext = hubContext; this.connectionManager = connectionManager; }
public WebhookController(MessageContext context, IMessageService messageService, IOptions <AppOptions> options, IMailboxService mailboxService) { _messageService = messageService; _options = options.Value; _context = context; _mailboxService = mailboxService; }
public MailService( MessageContext context, IMessageService messageService, IDomainService domainService, IMapper mapper, IMailgunAttachment mailgunAttachment, IMailboxService mailboxService, ILogger <MailService> logger) { _context = context; _messageService = messageService; _domainService = domainService; _mapper = mapper; _mailgunAttachment = mailgunAttachment; _mailboxService = mailboxService; _logger = logger; }
public MailboxController(IMailboxService mailboxService) { _mailboxService = mailboxService; }
/// <summary> /// ctor. /// </summary> public MailDiagnosticToolsService() : base() { _mailboxService = ClassFactory.Get <IMailboxService>(new ConstructorArgument("uc", UserConnection)); _exchangeListenerManager = GetExchangeListenerManager(); }
/// <summary> /// Initializes a new instance of the <see cref="ExchangeListenerManager"/> class. /// </summary> /// <param name="userConnection"><see cref="UserConnection"/> instance.</param> public ExchangeListenerManager(UserConnection userConnection) { UserConnection = userConnection; _requestFactory = ClassFactory.Get <IHttpWebRequestFactory>(); _mailboxService = ClassFactory.Get <IMailboxService>(new ConstructorArgument("uc", userConnection)); }
public IsUniqueAttribute() { _mailboxService = NinjectWebCommon.Kernel.Get <IMailboxService>(); }
public HomeController() { service = new MailboxService(); infastructure = new InfastructureService(); }