public ComradeController(IUserRepository users, IComradeRepository comrades, ISignalDispatcher signalDispatcher)
 {
     Debug.Assert(users != null, nameof(users) + " != null");
     _users = users;
     Debug.Assert(comrades != null, nameof(comrades) + " != null");
     _comrades = comrades;
     Debug.Assert(signalDispatcher != null, nameof(signalDispatcher) + " != null");
     _signalDispatcher = signalDispatcher;
 }
Ejemplo n.º 2
0
 public MessageController(IMessageRepository messages, ISignalDispatcher signalDispatcher)
 {
     _messages         = messages;
     _signalDispatcher = signalDispatcher;
 }