public MobileSecondHandChatHub(IChatHubCacheService chatHubCacheService, TokenAuthorizationOptions tokenAuthorizationOptions, IConversationService conversationService) { this.chatHubCacheService = chatHubCacheService; this.tokenAuthorizationOptions = tokenAuthorizationOptions; this.handler = new JwtSecurityTokenHandler(); this.conversationService = conversationService; }
public SearchController(IResourceService resourceService, IUserService userService, IProfileService profileService, ISearchService searchService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { _searchService = searchService; ResourceService = resourceService; }
public HistoryController(IConversationService conversationService, IRecommendationService recommendationService, IPatientService patientService, SiteUserManager userManager, IDoctorService doctorService) { _conversationService = conversationService; _recommendationService = recommendationService; _patientService = patientService; _userManager = userManager; _doctorService = doctorService; }
public ConversationPartHandler(IRepository<ConversationPartRecord> repository, IContentManager contentManager, IWorkContextAccessor workContextAccessor, IConversationService conversationService) { _contentManager = contentManager; _workContextAccessor = workContextAccessor; _conversationService = conversationService; Filters.Add(StorageFilter.For(repository)); OnActivated<ConversationPart>(SetupConversationPart); OnGetDisplayShape<ConversationPart>(SetMessagesRead); }
public SampleGenerator(IProfileService profileService, IUserService userService, IPhotosService photosService, IConversationService conversationService, IVisitService visitService, IResourceService resourceService) { _profileService = profileService; _userService = userService; _photosService = photosService; _conversationService = conversationService; _visitService = visitService; _resourceService = resourceService; }
protected KatushaBaseController(IResourceService resourceService, IUserService userService, IProfileService profileService, IStateService stateService, IConversationService conversationService) { ResourceService = resourceService; ConversationService = conversationService; ProfileService = profileService; UserService = userService; StateService = stateService; UniqueVisitorsResultConverter.GetInstance().ProfileService = profileService; ConversationResultTypeConverter.GetInstance().ProfileService = profileService; }
public ApiController(IResourceService resourceService, IUserService userService, IProfileService profileService, IConversationService conversationService, IStateService stateService, IUtilityService utilityService, ISearchService searchService, IPhotosService photoService ) : base(resourceService, userService, profileService, stateService, conversationService) { _searchService = searchService; _photoService = photoService; _utilityService = utilityService; }
public StateService(IVideoRoomService videoRoomService, IStateRepositoryRavenDB stateRepositoryRaven, IVisitService visitService, IConversationService conversationService) { //_stateRepository = stateRepository; _videoRoomService = videoRoomService; _stateRepositoryRaven = stateRepositoryRaven; _visitService = visitService; _conversationService = conversationService; _tokBox = new TokBox(); }
public PhotosService(IKatushaGlobalCacheContext cacheContext, IKatushaFileSystem fileSystem, IProfileService profileService, INotificationService notificationService, IConversationService conversationService, IProfileRepositoryDB profileRepository, IPhotoRepositoryDB photoRepository, IPhotoBackupService photoBackupService) { _cacheContext = cacheContext; _fileSystem = fileSystem; _profileService = profileService; _notificationService = notificationService; _conversationService = conversationService; _profileRepository = profileRepository; _photoRepository = photoRepository; _photoBackupService = photoBackupService; }
public UtilitiesController(INotificationService notificationService, IResourceService resourceService, IUserService userService, IProfileService profileService, ISamplesService samplesService, IVisitService visitService, IConversationService conversationService, IStateService stateService, IPhotosService photosService, IUtilityService utilityService, IKatushaGlobalCacheContext globalCacheContext ) : base(resourceService, userService, profileService, stateService, conversationService) { _notificationService = notificationService; _globalCacheContext = globalCacheContext; _samplesService = samplesService; _visitService = visitService; _conversationService = conversationService; _photosService = photosService; _utilityService = utilityService; }
/// <summary> /// Initializes a new instance of the <see cref="FaqPlusExpertBot"/> class. /// </summary> /// <param name="optionsAccessor">A set of key/value application configuration properties for FaqPlusPlus bot.</param> /// <param name="logger">Instance to send logs to the Application Insights service.</param> /// <param name="botCommandResolver">Resolves bot command.</param> /// <param name="conversationService">Conversation service to send welcome card.</param> /// <param name="taskModuleActivity">Instance to call teams activity when task module is invoked in teams chat.</param> /// <param name="messagingExtensionActivity">Instance to call teams activity when messaging extension is invoked.</param> /// <param name="turnContextExtension">Turn context extension object.</param> public FaqPlusExpertBot( IOptionsMonitor <BotSettings> optionsAccessor, ILogger <FaqPlusExpertBot> logger, IBotCommandResolver botCommandResolver, IConversationService conversationService, ITaskModuleActivity taskModuleActivity, IMessagingExtensionActivity messagingExtensionActivity, TurnContextExtension turnContextExtension) { if (optionsAccessor == null) { throw new ArgumentNullException(nameof(optionsAccessor)); } this.botCommandResolver = botCommandResolver ?? throw new ArgumentNullException(nameof(botCommandResolver)); this.conversationService = conversationService ?? throw new ArgumentNullException(nameof(conversationService)); this.taskModuleActivity = taskModuleActivity ?? throw new ArgumentNullException(nameof(taskModuleActivity)); this.messagingExtensionActivity = messagingExtensionActivity ?? throw new ArgumentNullException(nameof(messagingExtensionActivity)); this.turnContextExtension = turnContextExtension ?? throw new ArgumentNullException(nameof(turnContextExtension)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.options = optionsAccessor.CurrentValue; this.appBaseUri = this.options.AppBaseUri; }
/// <summary> /// Initializes a new instance of the <see cref="BotCommandResolver"/> class. /// </summary> /// <param name="configurationProvider">Configuration Provider.</param> /// <param name="activityStorageProvider">Activity storage provider.</param> /// <param name="qnaServiceProvider">QnA service provider.</param> /// <param name="logger">Instance to send logs to the Application Insights service.</param> /// <param name="qnaPairService">Instance of QnA pair service class to call add/update/get QnA pair.</param> /// <param name="botSettings">Represents a set of key/value application configuration properties for FaqPlusPlus bot.</param> /// <param name="conversationService">Conversation service to send adaptive card in personal and teams chat.</param> public BotCommandResolver( Common.Providers.IConfigurationDataProvider configurationProvider, IQnaServiceProvider qnaServiceProvider, IActivityStorageProvider activityStorageProvider, IQnAPairServiceFacade qnaPairService, IOptionsMonitor <BotSettings> botSettings, ILogger <BotCommandResolver> logger, IConversationService conversationService) { this.configurationProvider = configurationProvider ?? throw new ArgumentNullException(nameof(configurationProvider)); this.qnaServiceProvider = qnaServiceProvider ?? throw new ArgumentNullException(nameof(qnaServiceProvider)); this.activityStorageProvider = activityStorageProvider ?? throw new ArgumentNullException(nameof(activityStorageProvider)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.qnaPairService = qnaPairService ?? throw new ArgumentNullException(nameof(qnaPairService)); this.conversationService = conversationService ?? throw new ArgumentNullException(nameof(conversationService)); if (botSettings == null) { throw new ArgumentNullException(nameof(botSettings)); } var options = botSettings.CurrentValue; this.appBaseUri = options.AppBaseUri; }
public CognitiveOleChatController( IConversationService conversationService, IWebUtilWrapper webUtil, ISitecoreDataWrapper dataWrapper, IOleSettings chatSettings, ISetupInformationFactory setupFactory, ISetupService setupService) { ConversationService = conversationService; WebUtil = webUtil; DataWrapper = dataWrapper; ChatSettings = chatSettings; SetupFactory = setupFactory; SetupService = setupService; Parameters = new ItemContextParameters() { Id = WebUtil.GetQueryString("id"), Language = WebUtil.GetQueryString("language"), Database = WebUtil.GetQueryString("db") }; ThemeManager.GetImage("Office/32x32/man_8.png", 32, 32); }
public Chat2DeskService(IChat2DeskClient client, IConversationService conversationService, IMapper mapper) : base(conversationService, mapper) { _client = client; }
public ConversationViewModelItem(Conversation conversation, IConversationService conversationService) { Conversation = conversation; _conversationService = conversationService; }
protected MessengerService(IConversationService conversationService, IMapper mapper) { _conversationService = conversationService; _mapper = mapper; }
public SamplesService(IUserService userService, IProfileService profileService, IPhotosService photosService, IConversationService conversationService, IVisitService visitService, IResourceService resourceService) { _generator = new SampleGenerator(profileService, userService, photosService, conversationService, visitService, resourceService); }
public ConversationController(IConversationService service) { _service = service; }
public ConversationsController() { unitOfWorkFactory = new UnitOfWorkFactory(new Config()); conversationService = new ConversationService(unitOfWorkFactory); }
public ConversationController(IConversationService conversationService, IDoctorService doctorService) { _conversationService = conversationService; _doctorService = doctorService; }
public AddConversationViewModel(IConversationService conversationService) { _conversationService = conversationService; ConversationPartners = new ObservableCollection <ConversationPartnerViewModel>(); }
public ConversationServiceTests() { this.conversationDbService = new Mock<IConversationDbService>(); this.serviceUnderTest = new ConversationService(conversationDbService.Object); }
public PaymentsController(IPaypalService paypalService, IProductService productService, IResourceService resourceService, IUserService userService, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { _paypalService = paypalService; _productService = productService; }
protected KatushaController(IResourceService resourceService, IUserService userService, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { }
public MailController(INotificationService notificationService, IResourceService resourceService, IUserService userService, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { _notificationService = notificationService; }
public PhotosController(IResourceService resourceService, IUserService userService, IProfileService profileService, IPhotosService photosService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { _profileService = profileService; _photosService = photosService; }
public HomeController(IResourceService resourceService, IUserService userService, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { }
public ConversationController(IConversationService conversationService, IPaymentHistoryService paymentService, IPatientService patientService) { _conversationService = conversationService; _paymentService = paymentService; _patientService = patientService; }
public SendMessageHandler(IConversationService conversationService) { _conversationService = conversationService; }
public ConsultationController(IConversationService conversationService, IPatientService patientService) { _conversationService = conversationService; _patientService = patientService; }
public ConversationServiceTests() { this.conversationDbService = new Mock <IConversationDbService>(); this.photosService = new Mock <IPhotosService>(); this.serviceUnderTest = new ConversationService(conversationDbService.Object, this.photosService.Object); }
public ApplicationSeeder(IUserService userService, IConversationService conversationService, IMessangesService messangesService) { _userService = userService; _conversationService = conversationService; _messangesService = messangesService; }
public ConversationHub(IConversationService conversationService) { _conversationService = conversationService; }
public GridController(IResourceService resourceService, IUserService userService, IGridService <T> service, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { _service = service; }
public WebApiAccountController(IApplicationSignInManager applicationSignInManager, IIdentityService identityService, ILoggerFactory loggerFactory, IConversationService conversationService) { this.applicationSignInManager = applicationSignInManager; this.identityService = identityService; this.logger = loggerFactory.CreateLogger <WebApiAccountController>(); this.conversationService = conversationService; }
public ConversationWcfService(IConversationService conversationService, IMapper mapper) { this.conversationService = conversationService; this.mapper = mapper; }
public MessagesController(IResourceService resourceService, IUserService userService, IProfileService profileService, IConversationService conversationService, IStateService stateService) : base(resourceService, userService, profileService, stateService, conversationService) { _profileService = profileService; _conversationService = conversationService; }
public Admin_UsersController(IResourceService resourceService, IUserService userService, IGridService <User> gridService, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, gridService, profileService, stateService, conversationService) { }
public MessageService(ApplicationDbContext _db, IUserService _userService, IConversationService _conversationService) { db = _db; userService = _userService; conversationService = _conversationService; }
public PatientController(IRecommendationService recommendationService, IConversationService conversationService, IPatientService patientService) { _recommendationService = recommendationService; _conversationService = conversationService; _patientService = patientService; }
protected GridDetailController(IResourceService resourceService, IUserService userService, IDetailGridService <T> service, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, service, profileService, stateService, conversationService) { _service = service; }
public PartnershipsController(IPartnershipService partnershipService, IUnitOfWork unitOfWork, IConversationService conversationService) { _partnershipService = partnershipService; _conversationService = conversationService; _unitOfWork = unitOfWork; }
public ConversationController(IConversationService conversationService, IActivitiWorker activitiWorker) { _conversationService = conversationService; _activitiWorker = activitiWorker; }
public CreateGroupViewModel(IUserService userService, IConversationService conversationService) { _userService = userService; _conversationService = conversationService; GroupMembers.Add(DataContainer.User); }
public DialogsController(IResourceService resourceService, IUserService userService, IProfileService profileService, IConversationService conversationService, IStateService stateService) : base(resourceService, userService, profileService, stateService, conversationService) { _profileService = profileService; _conversationService = conversationService; }
public ConversationController(IConversationService conversationService) { _conversationService = conversationService; }
public MessageController(IMessageService messageService, Services.Interfaces.Services.Facebook.IMessageService facebbokMessageService, IConversationService conversationService) { _messageService = messageService; _facebbokMessageService = facebbokMessageService; _conversationService = conversationService; }
public ChatController(IConversationService messageService) { _messageService = messageService; }
public ConversationsController(ICommandDispatcher commandDispatcher, IConversationService conversationService) : base(commandDispatcher) { _conversationService = conversationService; }
public ConversationController(IConversationService conversationService, IIdentityService identityService) { this.conversationService = conversationService; this.identityService = identityService; }
public ConversationsController(IConversationService conversationService, IUnitOfWork unitOfWork) { _conversationService = conversationService; _unitOfWork = unitOfWork; }
public ProfilesController(IResourceService resourceService, IUserService userService, IProfileService profileService, IStateService stateService, IConversationService conversationService, IUtilityService utilityService) : base(resourceService, userService, profileService, stateService, conversationService) { _profileService = profileService; _utilityService = utilityService; }
public RabbitReceiver(IConversationService service) { _service = service; InitializeConnection(); }
public ChatController(IConversationService conversationService, IAdService adService, UserManager <ApplicationUser> userManager) { _conversationService = conversationService; _userManager = userManager; _adService = adService; }
public ConversationController( IConversationService conversationService) { _conversationService = conversationService; }