public ChatHub(IChatRoomService roomService, IServerCommands serverCommands, IChatMessageService chatMessageService, IConnectionService connectionService) { _roomService = roomService; _serverCommands = serverCommands; _chatMessageService = chatMessageService; _connectionService = connectionService; }
public void ChatMessageServiceCompositionRoute(IChatMessageService chatMessageService, IRoutingService <string> routingService, ISkyWatch skyWatch) { ITack tackModifyChatMessageServiceA = _erector.Container.Resolve <ITack>(); tackModifyChatMessageServiceA.SkyWatch = skyWatch; chatMessageService.Tack = tackModifyChatMessageServiceA; }
public ChatMessageController(IChatMessageService service, IMailService mailService, IAutoMapper mapper, IOptions <AppSettings> appSettings) { _appSettings = appSettings.Value; _mailService = mailService; _mapper = mapper; _service = service; }
public ChatController(IChatRoomService roomService, IUsersService usersService, IMapper mapper, IChatMessageService chatMessageService, IConnectionService connectionService) { _roomService = roomService; _usersService = usersService; _mapper = mapper; _chatMessageService = chatMessageService; _connectionService = connectionService; }
public UserService(IUnitOfWork uow, IOptions <AppSettings> appSettings, IAutoMapper mapper, IChatMessageService chatMessageService) { _uow = uow; _appSettings = appSettings.Value; _mapper = mapper; _chatMessageService = chatMessageService; }
public MainController(ISendService _sendService, IMetaMessageService _metaMessageService, IChatMessageService _chatMessageService, IUserPermissionService _userPermissionService) { sendService = _sendService; chatMessageService = _chatMessageService; metaMessageService = _metaMessageService; userPermissionService = _userPermissionService; serverThread.Start(this); }
public ChatHub( IChatMessageService chatMessageService, IChatGroupUserService chatGroupUserService, UserManager <User> userManager) { _chatMessageService = chatMessageService; _chatGroupUserService = chatGroupUserService; _userManager = userManager; }
public ChatService( IStorageService storageService, IUserService userService, IChatMessageService chatMessageService) { this.storageService = storageService; this.userService = userService; this.chatMessageService = chatMessageService; }
public ChatMessageController( IConfigurationManager configManager, IChatMessageService chatMessageService, IChatRoomRepository repo, IConnection connection ) : base(configManager) { _chatMessageService = chatMessageService; _channel = connection.CreateModel(); }
public ChatServiceCallback( Core.Services.IChatService chatService, IChatMessageService chatMessageService, IUserService userService, IMapper mapper) { this.chatService = chatService; this.chatMessageService = chatMessageService; this.userService = userService; this.mapper = mapper; }
public MessageReceiver( IAuthorizedUserHelper authorizedUserHelper, IChannelMessageService channelMessageService, IChatMessageService chatMessageService, ISocketStream socketStream ) { _authorizedUserHelper = authorizedUserHelper; _channelMessageService = channelMessageService; _chatMessageService = chatMessageService; _socketStream = socketStream; }
public ChatService( IChatRepository chatRepository, IChatPermissionService chatPermissionService, IChatMessageService chatMessageService, IUserService userService, IMapper mapper) { this.chatRepository = chatRepository; this.chatPermissionService = chatPermissionService; this.chatMessageService = chatMessageService; this.userService = userService; this.mapper = mapper; }
public ChatGroupController( IChatGroupService chatGroupService, IChatGroupUserService chatGroupUserService, IChatMessageService chatMessageService, UserManager <User> userManager, IAuthorizationService authorizationService) { _chatGroupService = chatGroupService; _chatGroupUserService = chatGroupUserService; _chatMessageService = chatMessageService; _userManager = userManager; _authorizationService = authorizationService; }
public ChatMessageController( IChatMessageService chatMessageService, IHubContext <ChatHub> chatHubContext, UserManager <User> userManager, IAuthorizationService authorizationService, IChatGroupUserService chatGroupUserService) { _chatMessageService = chatMessageService; _chatGroupUserService = chatGroupUserService; _chatHubContext = chatHubContext; _userManager = userManager; _authorizationService = authorizationService; }
public ChatHub(IChatRoomService chatRoomService, IMapper mapper, IUserConnectionService userConnectionService, IUserService userService, IChatMessageService chatMessageService, IChatRoomUserService chatRoomUserService) { _chatRoomService = chatRoomService; _mapper = mapper; _userConnectionService = userConnectionService; _userService = userService; _chatMessageService = chatMessageService; _chatRoomUserService = chatRoomUserService; }
public ChatRoomController( IConfigurationManager configManager, IChatRoomService chatRoomService, IChatMessageService chatMessageService, UserManager <ApplicationUser> userManager, IConnection connection ) : base(configManager) { _chatRoomService = chatRoomService; _chatMessageService = chatMessageService; _userManager = userManager; _channel = connection.CreateModel(); }
public void OnLoad(IServiceProvider serviceProvider) { try { _trace = serviceProvider.GetService(typeof(TopicTracer)) as TopicTracer; _attributeService = serviceProvider.GetService(typeof(IAttributeService)) as IAttributeService; _chatMessageService = serviceProvider.GetService(typeof(IChatMessageService)) as IChatMessageService; _chatReassignmentService = serviceProvider.GetService(typeof(IChatReassignmentService)) as IChatReassignmentService; Console.WriteLine("[{0}] - OnLoad", BotName); } catch (Exception ex) { Console.WriteLine(ex); } }
public TwitchChatBotService( IOptions <TwitchConfiguration> twitchConfiguration, IOptions <LuisConfiguration> luisConfiguration, IChatMessageService chatMessageService, ITwitchUserChatRepository twitchUserChatRepository, ITwitchNewSubscriberRepository twitchNewSubscriberRepository, ITwitchUserAttendanceEventRepository twitchUserAttendanceEventRepository, ILuisService luisService ) { _twitchConfiguration = twitchConfiguration.Value ?? throw new ArgumentNullException(nameof(twitchConfiguration)); _luisConfiguration = luisConfiguration.Value ?? throw new ArgumentNullException(nameof(luisConfiguration)); _chatMessageService = chatMessageService ?? throw new ArgumentNullException(nameof(chatMessageService)); _twitchUserChatRepository = twitchUserChatRepository ?? throw new ArgumentNullException(nameof(twitchUserChatRepository)); _twitchNewSubscriberRepository = twitchNewSubscriberRepository ?? throw new ArgumentNullException(nameof(twitchNewSubscriberRepository)); _twitchUserAttendanceEventRepository = twitchUserAttendanceEventRepository ?? throw new ArgumentNullException(nameof(twitchUserAttendanceEventRepository)); _twitchClientConnectionCredentials = new ConnectionCredentials(_twitchConfiguration.BotUserName, _twitchConfiguration.BotToken); _luisService = luisService ?? throw new ArgumentNullException(nameof(luisService)); _twitchClient = new TwitchClient(); }
public void OnLoad(IServiceProvider serviceProvider) { try { _trace = serviceProvider.GetService(typeof(TopicTracer)) as TopicTracer; _attributeService = serviceProvider.GetService(typeof(IAttributeService)) as IAttributeService; _chatMessageService = serviceProvider.GetService(typeof(IChatMessageService)) as IChatMessageService; _chatReassignmentService = serviceProvider.GetService(typeof(IChatReassignmentService)) as IChatReassignmentService; ServicePointManager.Expect100Continue = false; ServicePointManager.DefaultConnectionLimit = 2000; WebRequest.DefaultWebProxy = null; Console.WriteLine("[{0}] - OnLoad", BotName); } catch (Exception ex) { Console.WriteLine(ex); } }
public chatMessagesController(IChatMessageService chatMessageService) { this.chatMessageService = chatMessageService; }
public MessageManagementController() { serrvice = ML.BC.Infrastructure.Ioc.GetService <IChatMessageService>(); }
public ChatController(IChatMessageService chatMessageService, IProfileRepository profileRepository) { _chatMessageService = chatMessageService; _profileRepository = profileRepository; }
public ChatMessageController(IChatMessageService chatMessageService, IUserService userService) { _chatMessageService = chatMessageService; _userService = userService; }
public ChatMessageController(IChatMessageService chatMessagesService, IUserService userService, IDriverService driverService) { this._chatMessagesService = chatMessagesService; this._userService = userService; this._driverService = driverService; }
public ChatHub(IChatMessageService chatMessageService) { this.chatMessageService = chatMessageService; }
public MessageController(IChatMessageService messageService) { _messageService = messageService; }
public MessagesController(IChatMessageService service) { _service = service; }
public ChatMessagesController(IChatMessageService service) { this.service = service; }
public ChatMessageController() { service = Ioc.GetService <IChatMessageService>(); }
/// <summary> /// Controller. /// </summary> public ChatMessageController(IChatMessageService chatMessageService) { _chatMessageService = chatMessageService; }
public ChatMessageController(IChatMessageService chatMessageService) { _chatMessageService = chatMessageService; }