public SendMessageInConversationCommandHandler(IAsyncDocumentSession session, RavenDBIdUtil ravenDbIdUtil, IMediator mediator, INow now) { _session = session; _ravenDbIdUtil = ravenDbIdUtil; this.mediator = mediator; this.now = now; }
public SponsoredTossQueryHandler(IAsyncDocumentSession session, IMediator mediator, IRandom random, RavenDBIdUtil ravenDBIdUtil) { this._session = session; this.mediator = mediator; this.random = random; this.ravenDBIdUtil = ravenDBIdUtil; }
public ConfirmEmailSender(UserManager <ApplicationUser> userManager, IEmailSender emailSender, IUrlHelper urlHelper, IHttpContextAccessor httpContextAccessor, RavenDBIdUtil ravenDBIdUtil) { _userManager = userManager; _emailSender = emailSender; _urlHelper = urlHelper; _httpContextAccessor = httpContextAccessor; this._ravenDBIdUtil = ravenDBIdUtil; }
public SendMailOnConversationStarted(IEmailSender emailSender, IAsyncDocumentSession documentSession, IHttpContextAccessor httpContextAccessor, IUrlHelper urlHelper, RavenDBIdUtil ravenDBIdUtil) { _emailSender = emailSender ?? throw new ArgumentNullException(nameof(emailSender)); this.documentSession = documentSession ?? throw new ArgumentNullException(nameof(documentSession)); this.httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); _urlHelper = urlHelper ?? throw new ArgumentNullException(nameof(urlHelper)); this.ravenDBIdUtil = ravenDBIdUtil ?? throw new ArgumentNullException(nameof(ravenDBIdUtil)); }
public ForgotPasswordCommandHandler(UserManager <ApplicationUser> userManager, IEmailSender emailSender, IUrlHelper urlHelper, IHttpContextAccessor httpContextAccessor, RavenDBIdUtil ravenDBIdUtil) { _userManager = userManager; _emailSender = emailSender; _urlHelper = urlHelper; _httpContextAccessor = httpContextAccessor; _ravenDBIdUtil = ravenDBIdUtil; }
public BaseTest() { serviceProviderInitializer = new ServiceProviderInitializer(); documentStore = this.GetDocumentStore(new GetDocumentStoreOptions() { WaitForIndexingTimeout = TimeSpan.FromSeconds(60) }, database: "Toss"); serviceProviderInitializer.BuildServiceProvider(documentStore); _mediator = serviceProviderInitializer.GetInstance <IMediator>(); _ravenDbIdUtil = serviceProviderInitializer.GetInstance <RavenDBIdUtil>(); _userManager = serviceProviderInitializer.GetInstance <UserManager <ApplicationUser> >(); _emailSender = serviceProviderInitializer.GetInstance <IEmailSender>() as FakeEmailSender; }
public LastTossQueryHandler(IAsyncDocumentSession session, RavenDBIdUtil ravenDBIdUtil) { _session = session; this.ravenDBIdUtil = ravenDBIdUtil; }
public StartConversationCommandHandler(IAsyncDocumentSession session, RavenDBIdUtil ravenDbIdUtil, IMediator mediator) { _session = session; _ravenDbIdUtil = ravenDbIdUtil; this.mediator = mediator; }
public UserViewQueryHandler(RavenDBIdUtil ravenDBIdUtil, IAsyncDocumentSession session, ILogger <AccountController> logger) { this.ravenDBIdUtil = ravenDBIdUtil; _session = session; _logger = logger; }
public MessageInConversationQueryHandler(IAsyncDocumentSession session, RavenDBIdUtil ravenDbIdUtil) { _session = session; _ravenDbIdUtil = ravenDbIdUtil; }
public UserTossListViewQueryHandler(IAsyncDocumentSession session, RavenDBIdUtil ravenDBIdUtil) { _session = session; this.ravenDBIdUtil = ravenDBIdUtil; }
public ConfirmEmailCommandHandler(UserManager <ApplicationUser> userManager, RavenDBIdUtil ravenDBIdUtil, ILogger <ConfirmEmailCommandHandler> logger) { _userManager = userManager; _ravenDBIdUtil = ravenDBIdUtil; this.logger = logger; }
public ConfirmEmailCommandHandler(UserManager <ApplicationUser> userManager, RavenDBIdUtil ravenDBIdUtil) { _userManager = userManager; _ravenDBIdUtil = ravenDBIdUtil; }
public TossConversationQueryHandler(IAsyncDocumentSession session, RavenDBIdUtil ravenDbIdUtil, IMediator mediator) { _session = session; _ravenDbIdUtil = ravenDbIdUtil; this.mediator = mediator; }