public ChatController(IChatFacade chatFacade, IGroupFacade groupFacade, NotificationsMessageHandler notificationsMessageHandler) { _chatFacade = chatFacade; _groupFacade = groupFacade; _notificationsMessageHandler = notificationsMessageHandler; }
public ChatApplication(IChatFacade chatFacade, ITextualCommandMapper textualCommandMapper, IMessageBroker messageBroker, ICommunicator <string> communicator, IDomainEvents domainEvents) { ChatFacade = chatFacade; TextualCommandMapper = textualCommandMapper; MessageBroker = messageBroker; Communicator = communicator; DomainEvents = domainEvents; BindCommunicatorEvents(); BindDomainEvents(); }