예제 #1
0
 public ConnectionUseCase(IConnectionInProgress connectionInProgress,
                          string user1Id,
                          string user2Id,
                          IUserLookup lookup,
                          IConnectorDestination destination)
 {
     _connectionInProgress = connectionInProgress;
     _user1Id     = user1Id;
     _user2Id     = user2Id;
     _lookup      = lookup;
     _destination = destination;
 }
예제 #2
0
 public UserUseCaseFactory(IConnectorDestination connectorDestination, IUserLookup userLookup)
 {
     _connectorDestination = connectorDestination;
     _userLookup           = userLookup;
 }
예제 #3
0
 public void WriteTo(IConnectorDestination destination)
 {
 }
예제 #4
0
 public void WriteTo(IConnectorDestination destination)
 {
     destination.Save(_userDto);
 }