コード例 #1
0
ファイル: MessageHub.cs プロジェクト: sofire07/DatingApp
 public MessageHub(IMessageLogic messageLogic, IHubContext <PresenceHub> presenceHub, PresenceTracker tracker, IUserRepo userRepo)
 {
     _messageLogic = messageLogic;
     _presenceHub  = presenceHub;
     _tracker      = tracker;
     _userRepo     = userRepo;
 }
コード例 #2
0
 public MainLogic(
     IChatLogic chatLogic,
     IUserLogic userLogic,
     IMessageLogic messageLogic,
     IFriendLogic friendLogic,
     INotificationLogic notificationLogic)
 {
     _chatLogic         = chatLogic;
     _userLogic         = userLogic;
     _messageLogic      = messageLogic;
     _friendLogic       = friendLogic;
     _notificationLogic = notificationLogic;
 }
コード例 #3
0
 public Middleware(
     IArenaLogic arenaLogic,
     IBotLogic botLogic,
     IMessageLogic messageLogic,
     IPreprocessor preprocessor,
     IProcessor processor,
     IPostprocessor postprocessor)
 {
     _arenaLogic    = arenaLogic;
     _botLogic      = botLogic;
     _messageLogic  = messageLogic;
     _preprocessor  = preprocessor;
     _processor     = processor;
     _postprocessor = postprocessor;
 }
コード例 #4
0
 public void HandleMessage(IMessageLogic messageLogic)
 {
     messageLogic.ProcessMessage();
 }
コード例 #5
0
 public MessageController(IMessageLogic messageLogic, IMapper mapper)
 {
     this._messageLogic = messageLogic;
     this._mapper       = mapper;
 }
コード例 #6
0
 public MessagesController(IMessageLogic messageLogic, IUserLogic userLogic)
 {
     _messageLogic = messageLogic;
     _userLogic    = userLogic;
 }